From bee8353b13f1f5ff91afee577333a1aa25c725c5 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 17 Dec 2024 12:57:31 +0000 Subject: [PATCH] fix: replace break statement with alternative control flow in loop logic --- src/ragnar/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragnar/cli.py b/src/ragnar/cli.py index 1935fe1..c82ea1f 100644 --- a/src/ragnar/cli.py +++ b/src/ragnar/cli.py @@ -28,7 +28,7 @@ def bot_task(username, password): bot.fight() except Exception as ex: log.critical(ex, exc_info=True) - break + await asyncio.sleep(1) def main():