Update Changer.py

This commit is contained in:
Lukas Baumann 2020-12-03 03:07:58 +01:00 committed by GitHub
parent 3341f89d33
commit b0fcdd8623
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 ids[e.GetId()] == "Start":
if int(open(CONFIG, "r").read().split()[2]): if int(open(CONFIG, "r").read().split()[2]):
Popen(["wrapper.py"], shell=True, creationflags=CREATE_NEW_CONSOLE) Popen(["python3", "wrapper.py"], shell=True, creationflags=CREATE_NEW_CONSOLE)
else: else:
Popen(["wrapper.py"], shell=True, creationflags=DETACHED_PROCESS) Popen(["python3", "wrapper.py"], shell=True, creationflags=DETACHED_PROCESS)
if ids[e.GetId()] == "Refresh": if ids[e.GetId()] == "Refresh":
integrity_check() integrity_check()