Update bettercap.py

This commit is contained in:
Jeroen Oudshoorn
2023-09-30 15:21:21 +02:00
committed by GitHub
parent 661d936364
commit 6cdd8c0e36

View File

@ -99,8 +99,8 @@ class Client(object):
continue continue
except OSError: except OSError:
logging.warning('[bettercap] connection to the bettercap endpoint failed...') logging.warning('[bettercap] connection to the bettercap endpoint failed...')
await asyncio.sleep(10) pwnagotchi.reboot()
continue
def run(self, command, verbose_errors=True): def run(self, command, verbose_errors=True):
while True: while True: