mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
fix bug
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
import json
|
import json
|
||||||
from typing import Optional, Union, List, Tuple, Any, Dict
|
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.config import settings
|
||||||
|
from app.core.context import MediaInfo, Context
|
||||||
from app.helper.notification import NotificationHelper
|
from app.helper.notification import NotificationHelper
|
||||||
from app.log import logger
|
from app.log import logger
|
||||||
from app.modules import _ModuleBase, _MessageBase
|
from app.modules import _ModuleBase, _MessageBase
|
||||||
from app.modules.telegram.telegram import Telegram
|
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):
|
class TelegramModule(_ModuleBase, _MessageBase):
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ from pywebpush import webpush, WebPushException
|
|||||||
|
|
||||||
from app.core.config import global_vars, settings
|
from app.core.config import global_vars, settings
|
||||||
from app.log import logger
|
from app.log import logger
|
||||||
from app.modules import _ModuleBase, checkMessage
|
from app.modules import _ModuleBase
|
||||||
from app.schemas import MessageChannel, Notification
|
from app.schemas import MessageChannel, Notification
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user