diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-06 00:54:49 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-06 00:55:04 +0530 |
commit | 9cc1a3130a5e3f14a989e5d3232c1653aa5bdc3b (patch) | |
tree | 20f7781747fa76b9d29dd0243c67485ecf50a3b2 /yt_dlp/downloader/common.py | |
parent | b51d2ae3cae121de084460f1260d5d644a566338 (diff) | |
download | hypervideo-pre-9cc1a3130a5e3f14a989e5d3232c1653aa5bdc3b.tar.lz hypervideo-pre-9cc1a3130a5e3f14a989e5d3232c1653aa5bdc3b.tar.xz hypervideo-pre-9cc1a3130a5e3f14a989e5d3232c1653aa5bdc3b.zip |
Fix resuming when using `--no-part`
Closes #576
Diffstat (limited to 'yt_dlp/downloader/common.py')
-rw-r--r-- | yt_dlp/downloader/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/downloader/common.py b/yt_dlp/downloader/common.py index 038e32f95..500d7a49e 100644 --- a/yt_dlp/downloader/common.py +++ b/yt_dlp/downloader/common.py @@ -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)) ) |