fixed performget error type mismatch
This commit is contained in:
parent
2ed6475195
commit
abcdf58b1f
@ -123,7 +123,7 @@ class OnionrCommunicate:
|
|||||||
try:
|
try:
|
||||||
r = requests.get(url, headers=headers, proxies=proxies)
|
r = requests.get(url, headers=headers, proxies=proxies)
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
logger.warn(action + " failed with peer " + peer + ": " + e)
|
logger.warn(action + " failed with peer " + peer + ": " + str(e))
|
||||||
return False
|
return False
|
||||||
return r.text
|
return r.text
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user