Skip to content

Commit

Permalink
Small update
Browse files Browse the repository at this point in the history
  • Loading branch information
shelld3v committed Feb 25, 2021
1 parent 31b2b85 commit 1381616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection/requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1381616

Please sign in to comment.