fix: replace break statement with alternative control flow in loop logic

This commit is contained in:
retoor 2024-12-17 12:57:31 +00:00
parent a866bad6de
commit bee8353b13

View File

@ -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():