]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[YoutubeDL] Initialize `files_to_delete` (Closes #5797)
authorSergey M․ <dstftw@gmail.com>
Sat, 23 May 2015 22:14:01 +0000 (04:14 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 23 May 2015 22:14:01 +0000 (04:14 +0600)
youtube_dl/YoutubeDL.py

index 58b34e087b421474112719ffb3389b252e560313..d1953c18f39b438740aec88a1aadf4d529a8e0b4 100755 (executable)
@@ -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: