Fix urllib error reference
This commit is contained in:
		
							parent
							
								
									5518bf83a3
								
							
						
					
					
						commit
						52e748a02e
					
				| @ -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) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user