From a037ee0f3b71dd43abad86dfb39f83c255a89cf6 Mon Sep 17 00:00:00 2001 From: clement-pages Date: Tue, 5 Dec 2023 22:18:52 +0100 Subject: [PATCH] fix: fix style issue --- sunbot/weather_event.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sunbot/weather_event.py b/sunbot/weather_event.py index ed45b4e..360dd8a 100644 --- a/sunbot/weather_event.py +++ b/sunbot/weather_event.py @@ -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