Skip to content

Commit

Permalink
proxy_auth_handler: fix mypy test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaev-rd committed Feb 3, 2024
1 parent 996f7af commit 674c715
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/resources/lib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ def set_http_proxy(
)
proxy_auth_handler = urllib.request.ProxyBasicAuthHandler()
proxy_auth_handler.add_password(
realm=None,
uri=proxy_settings.host,
user=proxy_settings.username,
passwd=proxy_settings.password,
None,
proxy_settings.host,
proxy_settings.username,
proxy_settings.password,
)
return None

Expand Down

0 comments on commit 674c715

Please sign in to comment.