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

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))
)