Fix urllib error reference

This commit is contained in:
nolash 2021-10-21 07:19:42 +02:00
parent 5518bf83a3
commit 52e748a02e
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 2 additions and 2 deletions

View File

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

View File

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