[downloader/common] Always skip "already downloaded" check when outputting to stdout

This commit is contained in:
Sergey M․ 2015-10-12 00:43:54 +06:00
parent f101079ae0
commit 964e7b2dd0

View File

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