misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-20 18:48:05 +02:00
parent f7a23b32c1
commit 2e8f2aa1b8
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -64,7 +64,9 @@ if __name__ == '__main__':
agent.last_session.max_reward))
while True:
display.on_manual_mode(agent.last_session)
if not args.skip_session:
display.on_manual_mode(agent.last_session)
time.sleep(1)
if grid.is_connected():