From 0ce1fa9d1282537ab50b6359fb735e6e0b2f9cc9 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Sun, 20 Oct 2019 18:49:45 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- bin/pwnagotchi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/pwnagotchi b/bin/pwnagotchi index a23524e..d6303d5 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -63,12 +63,10 @@ if __name__ == '__main__': agent.last_session.min_reward, agent.last_session.max_reward)) + display.on_manual_mode(agent.last_session) + while True: - if not args.skip_session: - display.on_manual_mode(agent.last_session) - time.sleep(1) - if grid.is_connected(): plugins.on('internet_available', agent)