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

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

View File

@ -63,12 +63,10 @@ if __name__ == '__main__':
agent.last_session.min_reward,
agent.last_session.max_reward))
while True:
if not args.skip_session:
display.on_manual_mode(agent.last_session)
while True:
time.sleep(1)
if grid.is_connected():
plugins.on('internet_available', agent)