Fix issue with overwriting files

This commit is contained in:
pukkandan
2021-02-02 03:19:21 +05:30
parent c55256c5a3
commit b9d973bef1
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ class FileDownloader(object):
"""
nooverwrites_and_exists = (
not self.params.get('overwrites', True)
not self.params.get('overwrites', subtitle)
and os.path.exists(encodeFilename(filename))
)