Browse Source

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

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
1d16b0c3fe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/FileDownloader.py

+ 1
- 1
youtube_dl/FileDownloader.py View File

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


Loading…
Cancel
Save