0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-30 03:33:02 +00:00

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 @@ def download(self, filename, info_dict, subtitle=False):
""" """
nooverwrites_and_exists = ( nooverwrites_and_exists = (
not self.params.get('overwrites', subtitle) not self.params.get('overwrites', True)
and os.path.exists(encodeFilename(filename)) and os.path.exists(encodeFilename(filename))
) )