Fix resuming when using `--no-part`

Closes #576
This commit is contained in:
pukkandan 2021-08-06 00:54:49 +05:30
parent b51d2ae3ca
commit 9cc1a3130a
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 1 additions and 1 deletions

View File

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