fix base type of PrintError; it must be object, since it is inherited by wallets
This commit is contained in:
parent
87168282b9
commit
5a5cc97045
|
@ -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…
Reference in New Issue