Fix gdrivesync.py

This commit is contained in:
Jeroen Oudshoorn
2024-01-21 11:32:39 +01:00
parent 5a6967eb4d
commit b557768159
2 changed files with 8 additions and 7 deletions

View File

@ -59,7 +59,8 @@ def load(config, agent, epoch, from_disk=True):
return a2c
except Exception as e:
logging.exception("[AI] error while starting AI (%s)", e)
logging.info("[AI] Error while starting AI")
logging.debug("[AI] error while starting AI (%s)", e)
logging.info("[AI] Deleting brain and restarting.")
os.system("rm /root/brain.nn && service pwnagotchi restart")