diff options
Diffstat (limited to 'yt_dlp/__init__.py')
-rw-r--r-- | yt_dlp/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/__init__.py b/yt_dlp/__init__.py index fb44303a2..15c6e997f 100644 --- a/yt_dlp/__init__.py +++ b/yt_dlp/__init__.py @@ -931,7 +931,7 @@ def _real_main(argv=None): if opts.rm_cachedir: ydl.cache.remove() - updater = Updater(ydl) + updater = Updater(ydl, opts.update_self if isinstance(opts.update_self, str) else None) if opts.update_self and updater.update() and actual_use: if updater.cmd: return updater.restart() |