1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-09 02:55:11 +00:00
Co-authored by alxnull
This commit is contained in:
alxnull
2019-10-13 18:00:48 +02:00
committed by pukkandan
parent f5546c0b3c
commit 0c3d0f5177
8 changed files with 95 additions and 13 deletions

View File

@@ -332,7 +332,7 @@ class FileDownloader(object):
"""
nooverwrites_and_exists = (
self.params.get('nooverwrites', False)
not self.params.get('overwrites', True)
and os.path.exists(encodeFilename(filename))
)