commit 52e748a02e4a4b6effd1c57cc18118f096dcc741
parent 5518bf83a32baf94dc66f4a0bb60ba0ebfbdf009
Author: nolash <dev@holbrook.no>
Date:   Thu, 21 Oct 2021 07:19:42 +0200
Fix urllib error reference
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chainlib/connection.py b/chainlib/connection.py
@@ -314,7 +314,7 @@ class JSONRPCHTTPConnection(HTTPConnection):
 
         try: 
             r = urlopen(req, data=data.encode('utf-8'))
-        except urllib.error.URLError as e:
+        except URLError as e:
             raise RPCException(e)
 
         result = json.load(r)
diff --git a/setup.cfg b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = chainlib
-version = 0.0.10a5
+version = 0.0.10a6
 description = Generic blockchain access library and tooling
 author = Louis Holbrook
 author_email = dev@holbrook.no