1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Delete video file after the conversion

This commit is contained in:
Steffo 2019-04-20 12:48:47 +02:00
parent 22d30b89f2
commit f49829e237

View file

@ -34,8 +34,8 @@ class RoyalPCMFile(YtdlFile):
.overwrite_output() \
.run(quiet=not __debug__)
# Delete the video file
# log.info(f"Deleting {self.video_filename}")
# self.delete_video_file()
log.info(f"Deleting {self.video_filename}")
self.delete_video_file()
def __repr__(self):
return f"<RoyalPCMFile {self.audio_filename}>"