mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[downloader/common] Always skip "already downloaded" check when outputting to stdout
This commit is contained in:
parent
f101079ae0
commit
964e7b2dd0
|
@ -325,7 +325,7 @@ class FileDownloader(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
# Check file already present
|
# 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.report_file_already_downloaded(filename)
|
||||||
self._hook_progress({
|
self._hook_progress({
|
||||||
'filename': filename,
|
'filename': filename,
|
||||||
|
|
Loading…
Reference in a new issue