From 020a6271cf6a58bb33f9029cb0de6b2c3660bb56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Kr=C4=8Dek?= Date: Fri, 9 May 2025 22:44:52 +0200 Subject: [PATCH] Better debugging --- telegram_downloader_bot/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram_downloader_bot/utils.py b/telegram_downloader_bot/utils.py index 63d2db7..0420060 100644 --- a/telegram_downloader_bot/utils.py +++ b/telegram_downloader_bot/utils.py @@ -148,8 +148,8 @@ async def download_tt_video(url: str) -> str: video_content = video.download().getbuffer() video_hash = sha256(video_content).hexdigest() - log.info(f"{video_hash}") - log.info(f"{video_filepath}") + log.info(f"Video hash: {video_hash}") + log.info(f"Video filepath: {video_filepath}") if await check_if_tt_downloaded(video_hash) is True: return "Already downloaded"