diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-10-12 00:43:54 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-10-12 00:43:54 +0600 |
commit | 964e7b2dd09099bd021a770522684716f341db43 (patch) | |
tree | 195015005c71c21441d754d5957129a496b2d221 /youtube_dl/downloader | |
parent | f101079ae02560fee2df1ea0cacb1989eefc8e6c (diff) |
[downloader/common] Always skip "already downloaded" check when outputting to stdout
Diffstat (limited to 'youtube_dl/downloader')
-rw-r--r-- | youtube_dl/downloader/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py index 97e755d4b..29a4500d3 100644 --- a/youtube_dl/downloader/common.py +++ b/youtube_dl/downloader/common.py @@ -325,7 +325,7 @@ class FileDownloader(object): ) # Check file already present - if filename != '-' and nooverwrites_and_exists or continuedl_and_exists: + if filename != '-' and (nooverwrites_and_exists or continuedl_and_exists): self.report_file_already_downloaded(filename) self._hook_progress({ 'filename': filename, |