diff --git a/app/modules/telegram/__init__.py b/app/modules/telegram/__init__.py index cf8fcf14..7e60117a 100644 --- a/app/modules/telegram/__init__.py +++ b/app/modules/telegram/__init__.py @@ -1,13 +1,13 @@ import json from typing import Optional, Union, List, Tuple, Any, Dict -from app.core.context import MediaInfo, Context from app.core.config import settings +from app.core.context import MediaInfo, Context from app.helper.notification import NotificationHelper from app.log import logger from app.modules import _ModuleBase, _MessageBase from app.modules.telegram.telegram import Telegram -from app.schemas import MessageChannel, CommingMessage, Notification, NotificationConf +from app.schemas import MessageChannel, CommingMessage, Notification class TelegramModule(_ModuleBase, _MessageBase): diff --git a/app/modules/webpush/__init__.py b/app/modules/webpush/__init__.py index 023dd46c..e4dee77b 100644 --- a/app/modules/webpush/__init__.py +++ b/app/modules/webpush/__init__.py @@ -5,7 +5,7 @@ from pywebpush import webpush, WebPushException from app.core.config import global_vars, settings from app.log import logger -from app.modules import _ModuleBase, checkMessage +from app.modules import _ModuleBase from app.schemas import MessageChannel, Notification