Browse Source

fix base type of PrintError; it must be object, since it is inherited by wallets

283
ThomasV 9 years ago
parent
commit
5a5cc97045
  1. 2
      lib/util.py

2
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__

Loading…
Cancel
Save