From 6cdd8c0e360d443dc687bc5d72f97dd421471a9b Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Sat, 30 Sep 2023 15:21:21 +0200 Subject: [PATCH] Update bettercap.py --- pwnagotchi/bettercap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pwnagotchi/bettercap.py b/pwnagotchi/bettercap.py index 55fe9fb4..0bdd95ee 100644 --- a/pwnagotchi/bettercap.py +++ b/pwnagotchi/bettercap.py @@ -99,8 +99,8 @@ class Client(object): continue except OSError: logging.warning('[bettercap] connection to the bettercap endpoint failed...') - await asyncio.sleep(10) - continue + pwnagotchi.reboot() + def run(self, command, verbose_errors=True): while True: