fixing UnknownNameError exception initialization
This commit is contained in:
parent
fe7700d726
commit
4ad6405f35
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class KeyFeeAboveMaxAllowed(Exception):
|
|||
|
||||
class UnknownNameError(Exception):
|
||||
def __init__(self, name):
|
||||
Exception.__init__('Name {} is unknown'.format(name))
|
||||
Exception.__init__(self, 'Name {} is unknown'.format(name))
|
||||
self.name = name
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue