]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/downloader/common.py
Register new version in the changelog.
[youtubedl] / youtube_dl / downloader / common.py
index 97e755d4baa56972a9a4e5223a6871edd8bf0565..29a4500d3a02920ec586d38338c659ff4c43124c 100644 (file)
@@ -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._hook_progress({
                 'filename': filename,
             self.report_file_already_downloaded(filename)
             self._hook_progress({
                 'filename': filename,