fixing UnknownNameError exception initialization

This commit is contained in:
Kay Kurokawa 2016-11-08 11:21:33 -05:00
parent fe7700d726
commit 4ad6405f35

View file

@ -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