Update wrapper.py

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

View File

@ -30,9 +30,9 @@ while True:
try:
integrity_check()
if int(open(CONFIG, "r").read().split()[3]):
call(["backend.exe"], shell=True)
call(["backend.py"], shell=True)
else:
Popen(["backend.exe"], shell=True)
Popen(["backend.py"], shell=True)
sleep(float(open(CONFIG, "r").read().split()[0]))
except Exception as E:
print("Error: " + type(E).__name__)