From f49829e237a39309e7b9644718b89a473c9cd1c5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 20 Apr 2019 12:48:47 +0200 Subject: [PATCH] Delete video file after the conversion --- royalnet/audio/royalpcmfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalnet/audio/royalpcmfile.py b/royalnet/audio/royalpcmfile.py index df1ad0f7..844acfac 100644 --- a/royalnet/audio/royalpcmfile.py +++ b/royalnet/audio/royalpcmfile.py @@ -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""