new: button to restart in auto or manu mode

This commit is contained in:
Simone Margaritelli committed 2019-11-04 17:35:06 +01:00
1 parent e336fca0de
commit 364af70ad5
4 files changed
+37 -12

No files matched your search

+2
View File
@@ -65,6 +65,7 @@ if __name__ == '__main__':
elif args.do_manual:
logging.info("entering manual mode ...")
agent.mode = 'manual'
agent.last_session.parse(agent.view(), args.skip_session)
if not args.skip_session:
logging.info(
@@ -85,6 +86,7 @@ if __name__ == '__main__':
else:
logging.info("entering auto mode ...")
agent.mode = 'auto'
agent.start()
while True: