Remove incorrect remove statement
All checks were successful
Build Docker image / test (push) Successful in 4m53s
Build Docker image / build (push) Successful in 1m40s

This commit is contained in:
Roman Krček
2025-05-09 22:27:45 +02:00
parent 4b74810912
commit df5538d7ee

View File

@@ -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: