aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-12 00:43:54 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-12 00:43:54 +0600
commit964e7b2dd09099bd021a770522684716f341db43 (patch)
tree195015005c71c21441d754d5957129a496b2d221
parentf101079ae02560fee2df1ea0cacb1989eefc8e6c (diff)
[downloader/common] Always skip "already downloaded" check when outputting to stdout
-rw-r--r--youtube_dl/downloader/common.py2
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,