From a542448e8e12c45ec3f265a910865af1a6693410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20=C5=9Eafak?= <39929354+denizsafak@users.noreply.github.com> Date: Wed, 13 Mar 2024 05:04:06 +0300 Subject: [PATCH] Update HotspotAutoLogin.pyw --- HotspotAutoLogin.pyw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HotspotAutoLogin.pyw b/HotspotAutoLogin.pyw index 975009a..dbf7334 100644 --- a/HotspotAutoLogin.pyw +++ b/HotspotAutoLogin.pyw @@ -76,7 +76,7 @@ def refresh_profile_details(): # Function to open the config file def open_config(): - os.system("config.json") + subprocess.Popen(["start", "config.json"], shell=True) # Load configuration from file with open("config.json", "r") as f: @@ -488,4 +488,4 @@ if __name__ == '__main__': check_network_status() # Wait for all threads to finish - tray_thread.join() \ No newline at end of file + tray_thread.join()