From: Sergey M․ Date: Sat, 23 May 2015 22:14:01 +0000 (+0600) Subject: [YoutubeDL] Initialize `files_to_delete` (Closes #5797) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=71646e465348b25962a15f9a567f134514bde30a;p=youtube-dl.git [YoutubeDL] Initialize `files_to_delete` (Closes #5797) --- diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 58b34e087..d1953c18f 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -1527,6 +1527,7 @@ class YoutubeDL(object): pps_chain.extend(ie_info['__postprocessors']) pps_chain.extend(self._pps) for pp in pps_chain: + files_to_delete = [] try: files_to_delete, info = pp.run(info) except PostProcessingError as e: