0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[YoutubeDL] Initialize files_to_delete (Closes #5797)

This commit is contained in:
Sergey M․ 2015-05-24 04:14:01 +06:00
parent 1335c3aca8
commit 71646e4653

View file

@ -1527,6 +1527,7 @@ def post_process(self, filename, ie_info):
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: