Browse Source

[YoutubeDL] Initialize `files_to_delete` (Closes #5797)

totalwebcasting
Sergey M․ 9 years ago
parent
commit
71646e4653
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/YoutubeDL.py

+ 1
- 0
youtube_dl/YoutubeDL.py View File

@ -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:


Loading…
Cancel
Save