From 2fb6ed2b16486c973aa34e858e1225df48426533 Mon Sep 17 00:00:00 2001 From: Akhil Rana Date: Mon, 11 Mar 2024 05:34:55 +0530 Subject: [PATCH] Update main.py --- src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index f5db868..6d3d650 100644 --- a/src/main.py +++ b/src/main.py @@ -37,7 +37,7 @@ async def process_radarr_webhook(body): f"--telegram_bot_token={shlex.quote(TELEGRAM_BOT_TOKEN)}", f"--telegram_api_hash={shlex.quote(TELEGRAM_API_HASH)}", f"--telegram_api_id={shlex.quote(TELEGRAM_API_ID)}", - f"--telegram_radarr_chat_id={TELEGRAM_RADARR_CHAT_ID}", + f"--telegram_chat_id={TELEGRAM_RADARR_CHAT_ID}", f"--file_name={shlex.quote(movie_file_name)}", f"--file_path={shlex.quote(local_movie_file_path)}", f"--file_caption_type={shlex.quote(TELEGRAMARR_FILE_CAPTION_CONTENT)}", @@ -63,7 +63,7 @@ async def process_sonarr_webhook(body): f"--telegram_bot_token={shlex.quote(TELEGRAM_BOT_TOKEN)}", f"--telegram_api_hash={shlex.quote(TELEGRAM_API_HASH)}", f"--telegram_api_id={shlex.quote(TELEGRAM_API_ID)}", - f"--telegram_radarr_chat_id={TELEGRAM_SONARR_CHAT_ID}", + f"--telegram_chat_id={TELEGRAM_SONARR_CHAT_ID}", f"--file_name={shlex.quote(tvshow_file_name)}", f"--file_path={shlex.quote(local_tvshow_file_path)}", f"--file_caption_type={shlex.quote(TELEGRAMARR_FILE_CAPTION_CONTENT)}",