This commit is contained in:
Deniz Şafak
2024-10-26 00:19:34 +03:00
committed by GitHub
parent 95e62523f4
commit 10436f0b4f
+2
View File
@@ -16,9 +16,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 # Change the current working directory to the script's directory
script_dir = os.path.dirname(os.path.abspath(__file__)) script_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(script_dir) os.chdir(script_dir)
################################# REMOVE THIS BEFORE USING PYINSTALLER #################################
# Program Information # Program Information
program_name = "HotspotAutoLogin" program_name = "HotspotAutoLogin"