0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +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 @@ def download(self, filename, info_dict):
)
# 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,