diff --git a/chainlib/connection.py b/chainlib/connection.py index eea9d6e..786fda0 100644 --- 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 index 02884ee..1640d09 100644 --- 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