]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[YoutubeDL] Remove the redundant assignment to old_filename
authorYen Chi Hsuan <yan12125@gmail.com>
Wed, 22 Apr 2015 07:05:35 +0000 (15:05 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Wed, 22 Apr 2015 07:05:35 +0000 (15:05 +0800)
Caused by commmit 592e97e8550389e22b716eb33c30584aa3a8d656

youtube_dl/YoutubeDL.py

index 5b2c3aa381941b94a69a3385351eec3404e161b2..0fdcf1b0b724c9ddd0a04421967bf20f8718933b 100755 (executable)
@@ -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: