mirror of
https://github.com/r4sas/PBinCLI
synced 2025-03-12 13:21:27 +00:00
Addressed comment: https://github.com/r4sas/PBinCLI/pull/53#discussion_r1965818035
This commit is contained in:
parent
03bdfe6782
commit
5e9a12ee92
@ -29,7 +29,7 @@ def _config_requests(settings=None, shortener=False):
|
||||
else:
|
||||
PBinCLIError("Incorrect authorization configuration")
|
||||
|
||||
if settings["proxy"]:
|
||||
if settings.get("proxy"):
|
||||
scheme = settings["proxy"].split("://")[0]
|
||||
if scheme.startswith("socks"):
|
||||
session.proxies.update(
|
||||
|
Loading…
x
Reference in New Issue
Block a user