From 3279bb166adaf28bf75989836e30c5e92f114597 Mon Sep 17 00:00:00 2001 From: Jesus Date: Mon, 11 Sep 2023 03:03:51 +0800 Subject: Remove update_self --- yt_dlp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index b4dc12fac..76de0c05a 100644 --- a/yt_dlp/__init__.py +++ b/yt_dlp/__init__.py @@ -956,7 +956,7 @@ def _real_main(argv=None): FFmpegPostProcessor._ffmpeg_location.set(opts.ffmpeg_location) with YoutubeDL(ydl_opts) as ydl: - pre_process = opts.update_self or opts.rm_cachedir + pre_process = opts.rm_cachedir actual_use = all_urls or opts.load_info_filename if opts.rm_cachedir: -- cgit v1.2.3