Update Changer.py

This commit is contained in:
Lukas Baumann 2020-12-03 02:46:47 +01:00 committed by GitHub
parent c5423a50fd
commit ac00cd5e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,9 +154,9 @@ class ChangerUI(wx.Frame):
if ids[e.GetId()] == "Start":
if int(open(CONFIG, "r").read().split()[2]):
Popen(["wrapper.exe"], shell=True, creationflags=CREATE_NEW_CONSOLE)
Popen(["wrapper.py"], shell=True, creationflags=CREATE_NEW_CONSOLE)
else:
Popen(["wrapper.exe"], shell=True, creationflags=DETACHED_PROCESS)
Popen(["wrapper.py"], shell=True, creationflags=DETACHED_PROCESS)
if ids[e.GetId()] == "Refresh":
integrity_check()