remove thumb at the end

This commit is contained in:
Antonio J. Delgado 2024-12-28 20:17:29 +02:00
parent 318ea7fd2d
commit dbccdec776

View file

@ -199,6 +199,7 @@ class GetPeertubeVideos:
) )
return None return None
os.remove(video_file) os.remove(video_file)
os.remove(thumb_file)
os.rename(f"{video_file}_with_thumb.{file_extension}", video_file) os.rename(f"{video_file}_with_thumb.{file_extension}", video_file)
def _write_downloaded_items(self): def _write_downloaded_items(self):