youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1d16b0c3fe6b12552481a86e55cb9a2edf768f73
parent 7851b37993ad2cb898ca76e34fade492dddeec59
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Sat, 12 Jan 2013 15:12:28 +0100

Keep file without any PPs (oops, missed the obvious case)

Diffstat:
Myoutube_dl/FileDownloader.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py @@ -545,7 +545,7 @@ class FileDownloader(object): keep_video = keep_video_wish except PostProcessingError as e: self.to_stderr(u'ERROR: ' + e.msg) - if not keep_video and not self.params.get('keepvideo', False): + if keep_video is False and not self.params.get('keepvideo', False): try: self.to_stderr(u'Deleting original file %s (pass -k to keep)' % filename) os.remove(encodeFilename(filename))