Skip to content

Commit

Permalink
fix: fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-pages committed Dec 5, 2023
1 parent 8633de3 commit a037ee0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sunbot/weather_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ async def load_locations_subscribers(self, usr_loader, channel_loader) -> None:
# subscriber is None if current subscriber is not linked to an
# existent discord entity:
if subscriber is None:
logging.error("Subscriber %d does not correspond to any discord entity",
logging.error(
"Subscriber %d does not correspond to any discord entity",
sub_dict["sub_id"]
)
continue # Do not add a None subscriber, as it can broke the bot
Expand Down

0 comments on commit a037ee0

Please sign in to comment.