Remove incorrect remove statement
This commit is contained in:
@@ -152,7 +152,6 @@ async def download_tt_video(url: str) -> str:
|
|||||||
log.info(f"{video_filepath}")
|
log.info(f"{video_filepath}")
|
||||||
|
|
||||||
if await check_if_tt_downloaded(video_hash) is True:
|
if await check_if_tt_downloaded(video_hash) is True:
|
||||||
os.remove(video_filepath)
|
|
||||||
return "Already downloaded"
|
return "Already downloaded"
|
||||||
|
|
||||||
with open(video_filepath, "wb") as f:
|
with open(video_filepath, "wb") as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user