commit ceaa48fd73cb57035a721f25624a76f408be0e46
parent f8fbce12431cde3fb40ce01908ce9b8d96a6c913
Author: ThomasV <thomasv@gitorious>
Date: Sun, 21 Dec 2014 13:04:07 +0100
fix #948
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -2,12 +2,12 @@ import os, sys, re, json
import platform
import shutil
from datetime import datetime
-from i18n import _
class NotEnoughFunds(Exception): pass
class InvalidPassword(Exception):
def __str__(self):
+ from i18n import _
return _("Incorrect password")
class MyEncoder(json.JSONEncoder):