Fix urllib error reference
This commit is contained in:
parent
5518bf83a3
commit
52e748a02e
@ -314,7 +314,7 @@ class JSONRPCHTTPConnection(HTTPConnection):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
r = urlopen(req, data=data.encode('utf-8'))
|
r = urlopen(req, data=data.encode('utf-8'))
|
||||||
except urllib.error.URLError as e:
|
except URLError as e:
|
||||||
raise RPCException(e)
|
raise RPCException(e)
|
||||||
|
|
||||||
result = json.load(r)
|
result = json.load(r)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib
|
name = chainlib
|
||||||
version = 0.0.10a5
|
version = 0.0.10a6
|
||||||
description = Generic blockchain access library and tooling
|
description = Generic blockchain access library and tooling
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user