1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-23 08:12:28 +00:00

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