From df5538d7eea2bec37291e45399d9e0976041d12d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Kr=C4=8Dek?= Date: Fri, 9 May 2025 22:27:45 +0200 Subject: [PATCH] Remove incorrect remove statement --- telegram_downloader_bot/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telegram_downloader_bot/utils.py b/telegram_downloader_bot/utils.py index 181573e..63d2db7 100644 --- a/telegram_downloader_bot/utils.py +++ b/telegram_downloader_bot/utils.py @@ -152,7 +152,6 @@ async def download_tt_video(url: str) -> str: log.info(f"{video_filepath}") if await check_if_tt_downloaded(video_hash) is True: - os.remove(video_filepath) return "Already downloaded" with open(video_filepath, "wb") as f: