Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Mar 25, 2024
1 parent d01e398 commit 88cb5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/clan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def handle_war_responses(coc_client: coc.Client, producer: KafkaProducer,
next_war, current_war = response[1]
wars = [next_war, current_war]
for war in wars:
if war is None:
if not isinstance(war, dict):
continue
war = coc.ClanWar(data=war, client=coc_client, clan_tag=clan_tag)

Expand Down

0 comments on commit 88cb5b6

Please sign in to comment.