diff --git a/otp/Otp.py b/otp/Otp.py index 8a81db4..ebf67b9 100644 --- a/otp/Otp.py +++ b/otp/Otp.py @@ -154,7 +154,7 @@ class Otp: }, params=param, proxies=proxies, - verify=False + verify=proxies is None ).text try: raw_xml = raw_xml[raw_xml.index("?>") + 2:]