Skip to content

Commit dff71f4

Browse files
committed
Update api.py
1 parent 68d2a87 commit dff71f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domaintools/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __init__(self, username, key, https=True, verify_ssl=True, rate_limit=True,
5757
raise Exception("The DomainTools API endpoints no longer support http traffic. Please make sure https=True.")
5858
if proxy_url:
5959
if isinstance(proxy_url, str):
60-
self.extra_request_params['proxies'] = {'http://': proxy_url, 'https://': proxy_url}
60+
self.extra_request_params['proxies'] = {'http://': proxy_url, 'https://': proxy_url}
6161
else:
6262
raise Exception("Proxy URL must be a string. For example: '127.0.0.1:8888'")
6363

0 commit comments

Comments
 (0)