diff --git a/pwnagotchi/bettercap.py b/pwnagotchi/bettercap.py index f7ba7a71..55fe9fb4 100644 --- a/pwnagotchi/bettercap.py +++ b/pwnagotchi/bettercap.py @@ -99,7 +99,7 @@ class Client(object): continue except OSError: logging.warning('[bettercap] connection to the bettercap endpoint failed...') - sleep(10) + await asyncio.sleep(10) continue def run(self, command, verbose_errors=True):