database caller crash fix

This commit is contained in:
Neythen Treloar
2022-03-01 18:27:45 +00:00
parent 36b4877d2c
commit d891e5ef6d
2 changed files with 23 additions and 4 deletions

View File

@@ -29,12 +29,14 @@ import sys
#api_caller = pexpect.spawn("sudo -E taskset -c 3 python3 api_caller.py")
api_caller = pexpect.spawn("sudo -E taskset -c 3 python3 database_caller.py")
api_caller = pexpect.spawn("sudo -E python3 database_caller.py")
time.sleep(3)
api_caller.sendline('A')
os.system("sudo ./check_update.sh")
#os.system("sudo ./check_update.sh")
displaying_screensaver = False
uploading = False