From 661d93636448a3ecb50fd33444006e46bca5169d Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 29 Sep 2023 20:54:16 +0200 Subject: [PATCH] Update bettercap.py Signed-off-by: Jeroen Oudshoorn --- pwnagotchi/bettercap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):