Update wrapper.py
This commit is contained in:
parent
ac00cd5e09
commit
af890a3857
@ -30,9 +30,9 @@ while True:
|
|||||||
try:
|
try:
|
||||||
integrity_check()
|
integrity_check()
|
||||||
if int(open(CONFIG, "r").read().split()[3]):
|
if int(open(CONFIG, "r").read().split()[3]):
|
||||||
call(["backend.exe"], shell=True)
|
call(["backend.py"], shell=True)
|
||||||
else:
|
else:
|
||||||
Popen(["backend.exe"], shell=True)
|
Popen(["backend.py"], shell=True)
|
||||||
sleep(float(open(CONFIG, "r").read().split()[0]))
|
sleep(float(open(CONFIG, "r").read().split()[0]))
|
||||||
except Exception as E:
|
except Exception as E:
|
||||||
print("Error: " + type(E).__name__)
|
print("Error: " + type(E).__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user