commit 5a5cc9704586277fdbbcb401ffc3fbb0dc41b34d
parent 87168282b9281829453de88d69a797f28f0a2f15
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 1 Oct 2015 12:38:46 +0200
fix base type of PrintError; it must be object, since it is inherited by wallets
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -25,7 +25,7 @@ class MyEncoder(json.JSONEncoder):
return obj.as_dict()
return super(MyEncoder, self).default(obj)
-class PrintError:
+class PrintError(object):
'''A handy base class'''
def diagnostic_name(self):
return self.__class__.__name__