Skip to content

Commit

Permalink
fixing get_to_clan_tab_from_clash_main() call
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmiglio committed Sep 23, 2024
1 parent f0e531b commit 2691a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyclashbot/bot/war_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def war_state(vm_index: int, logger: Logger, next_state: str):
logger.change_status(status="Starting a war battle")

logger.log("Getting to clan tab")
if get_to_clan_tab_from_clash_main(vm_index, logger) == "restart":
if get_to_clan_tab_from_clash_main(vm_index, logger) is False:
logger.log("Error 86868243 Took too long to get to clan tab from clash main")
return "restart"

Expand Down

0 comments on commit 2691a55

Please sign in to comment.