fixed performget error type mismatch

This commit is contained in:
Kevin Froman 2018-01-27 19:58:30 -06:00
parent 2ed6475195
commit abcdf58b1f
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B

View File

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