From: Sergey M․ Date: Sun, 11 Oct 2015 18:43:54 +0000 (+0600) Subject: [downloader/common] Always skip "already downloaded" check when outputting to stdout X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=964e7b2dd09099bd021a770522684716f341db43;p=youtube-dl [downloader/common] Always skip "already downloaded" check when outputting to stdout --- 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,