From abcdf58b1fb817a8e86b7fa9cc45837642c5072e Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sat, 27 Jan 2018 19:58:30 -0600 Subject: [PATCH] fixed performget error type mismatch --- onionr/communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index 469d1124..0a6b9545 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -123,7 +123,7 @@ class OnionrCommunicate: try: r = requests.get(url, headers=headers, proxies=proxies) 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 r.text