Skip to content

Commit

Permalink
fix current raid being empty
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev committed Apr 14, 2024
1 parent 5cf0227 commit fc86cd7
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 @@ -148,7 +148,7 @@ async def raid_weekend_track(clan_tags: List[str], db_client: MongoDatabase, coc
current_raid = current_raids.get(clan_tag)
previous_raid = cached_raids.get(clan_tag)

if current_raid is None and previous_raid is None:
if current_raid is None:
continue

if current_raid._raw_data != previous_raid:
Expand Down

0 comments on commit fc86cd7

Please sign in to comment.