Skip to content

A feature-rich command-line audio/video downloader

[YoutubeDL] Remove the redundant assignment to old_filename

Yen Chi Hsuan8be2bdfabd7a
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py
index 5b2c3aa381..0fdcf1b0b7 100755
--- a/youtube_dl/YoutubeDL.py
+++ b/youtube_dl/YoutubeDL.py
@@ -1516,7 +1516,6 @@ class YoutubeDL(object):
pps_chain.extend(ie_info['__postprocessors'])
pps_chain.extend(self._pps)
for pp in pps_chain:
- old_filename = info['filepath']
try:
files_to_delete, info = pp.run(info)
except PostProcessingError as e: