Update wrapper.py
This commit is contained in:
parent
b0fcdd8623
commit
aa6a0f6e22
@ -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.py"], shell=True)
|
call(["python3", "backend.py"], shell=True)
|
||||||
else:
|
else:
|
||||||
Popen(["backend.py"], shell=True)
|
Popen(["python3", "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