From cd123b34790471764c8b2bdcc88fd3b79f277242 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 22 Mar 2026 22:32:28 +0100 Subject: [PATCH] Update notification_channels.py --- AppImage/scripts/notification_channels.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AppImage/scripts/notification_channels.py b/AppImage/scripts/notification_channels.py index 78d777a1..f464b560 100644 --- a/AppImage/scripts/notification_channels.py +++ b/AppImage/scripts/notification_channels.py @@ -907,12 +907,12 @@ def create_channel(channel_type: str, config: Dict[str, str]) -> Optional[Notifi Channel instance or None if creation fails """ try: - if channel_type == 'telegram': - return TelegramChannel( - bot_token=config.get('bot_token', ''), - chat_id=config.get('chat_id', ''), - topic_id=config.get('topic_id', '') - ) + if channel_type == 'telegram': + return TelegramChannel( + bot_token=config.get('bot_token', ''), + chat_id=config.get('chat_id', ''), + topic_id=config.get('topic_id', '') + ) elif channel_type == 'gotify': return GotifyChannel( server_url=config.get('url', ''),