From 1381616f8ab00c19c16fb444e2c670954c075bba Mon Sep 17 00:00:00 2001 From: shelld3v <59408894+shelld3v@users.noreply.github.com> Date: Thu, 25 Feb 2021 13:24:06 +0700 Subject: [PATCH] Small update --- lib/connection/requester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection/requester.py b/lib/connection/requester.py index 146295193..6a1dff103 100755 --- a/lib/connection/requester.py +++ b/lib/connection/requester.py @@ -192,7 +192,7 @@ def request(self, path, proxy=None): error = "Too many redirects: {0}".format(url) except requests.exceptions.ProxyError: - error = "Error with the proxy: {0}".format(list(proxies.values())[0]) + error = "Error with the proxy: {0}".format(proxy) except requests.exceptions.ConnectionError: error = "Cannot connect to: {0}:{1}".format(self.host, self.port)