From 0df5e54f91d640df6dc7dabd3333775e5b790dc0 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Thu, 24 Oct 2019 12:29:39 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- bin/pwnagotchi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/pwnagotchi b/bin/pwnagotchi index 0f3928b..6d1bd41 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -63,9 +63,8 @@ if __name__ == '__main__': agent.last_session.min_reward, agent.last_session.max_reward)) - display.on_manual_mode(agent.last_session) - while True: + display.on_manual_mode(agent.last_session) time.sleep(5) if grid.is_connected(): plugins.on('internet_available', agent)