Update series.py

This commit is contained in:
None 2025-03-17 11:54:02 +01:00 committed by GitHub
parent e3e99f38d6
commit 8de92df337
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,10 +8,12 @@ from typing import Tuple
from rich.console import Console
from rich.prompt import Prompt
from StreamingCommunity.TelegramHelp.telegram_bot import get_bot_instance, TelegramSession
# Internal utilities
from StreamingCommunity.Util.message import start_message
from StreamingCommunity.Lib.Downloader import HLS_Downloader
from StreamingCommunity.TelegramHelp.telegram_bot import get_bot_instance, TelegramSession
# Logic class
from .util.ScrapeSerie import GetSerieInfo
@ -204,4 +206,4 @@ def download_series(select_season: MediaItem) -> None:
# Get script_id
script_id = TelegramSession.get_session()
if script_id != "unknown":
TelegramSession.deleteScriptId(script_id)
TelegramSession.deleteScriptId(script_id)