v1.90fix2

This commit is contained in:
Deniz Şafak
2025-01-01 03:45:45 +03:00
committed by GitHub
parent 10c3b7f233
commit 7ec6601554
+5 -1
View File
@@ -21,7 +21,11 @@ dns.resolver.default_resolver = dns.resolver.Resolver()
from urllib3.exceptions import InsecureRequestWarning from urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning) requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
################################# REMOVE THIS BEFORE USING PYINSTALLER #################################
# Change the current working directory to the script's directory
script_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(script_dir)
################################# REMOVE THIS BEFORE USING PYINSTALLER #################################
# Program Information # Program Information
program_name = "HotspotAutoLogin" program_name = "HotspotAutoLogin"