aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-24 04:14:01 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-24 04:14:01 +0600
commit71646e465348b25962a15f9a567f134514bde30a (patch)
tree2d1077b1279f27d6008498cef441f94b106400a1 /youtube_dl
parent1335c3aca8f0cbddc0c521c73579eec2b9a5643c (diff)
[YoutubeDL] Initialize `files_to_delete` (Closes #5797)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
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: