From 9cc1a3130a5e3f14a989e5d3232c1653aa5bdc3b Mon Sep 17 00:00:00 2001 From: pukkandan Date: Fri, 6 Aug 2021 00:54:49 +0530 Subject: [PATCH] Fix resuming when using `--no-part` Closes #576 --- yt_dlp/downloader/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.py index 038e32f950..500d7a49e5 100644 --- a/yt_dlp/downloader/common.py +++ b/yt_dlp/downloader/common.py @@ -343,7 +343,7 @@ def download(self, filename, info_dict, subtitle=False): """ nooverwrites_and_exists = ( - not self.params.get('overwrites', subtitle) + not self.params.get('overwrites', True) and os.path.exists(encodeFilename(filename)) )