Skip to content

Commit 5e9a12e

Browse files
blacklightr4sas
authored andcommitted
Addressed comment: #53 (comment)
1 parent 03bdfe6 commit 5e9a12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pbincli/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _config_requests(settings=None, shortener=False):
2929
else:
3030
PBinCLIError("Incorrect authorization configuration")
3131

32-
if settings["proxy"]:
32+
if settings.get("proxy"):
3333
scheme = settings["proxy"].split("://")[0]
3434
if scheme.startswith("socks"):
3535
session.proxies.update(

0 commit comments

Comments
 (0)