From 4ad6405f35a9f680b2a6be3826fe29626e82f4c4 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Tue, 8 Nov 2016 11:21:33 -0500 Subject: [PATCH] fixing UnknownNameError exception initialization --- lbrynet/core/Error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/core/Error.py b/lbrynet/core/Error.py index 7bade2561..1f9173730 100644 --- a/lbrynet/core/Error.py +++ b/lbrynet/core/Error.py @@ -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