From 2b0623f632528567e8b258a7cf5dc3bb271e08ad Mon Sep 17 00:00:00 2001 From: sepro Date: Wed, 6 Aug 2025 17:29:16 +0200 Subject: [PATCH] Use better update message Co-Authored-By: bashonly <88596187+bashonly@users.noreply.github.com> --- yt_dlp/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 595abe81c..012e91b7c 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -183,7 +183,7 @@ def _get_version_age_warning(): return ('\n '.join(( f'Your yt-dlp version ({__version__}) is older than 90 days!', 'It is strongly recommended to always use the latest version.', - f'{UPDATE_HINT or """Run "yt-dlp --update" or "yt-dlp -U" to update"""}.', + f'{is_non_updateable() or """Run "yt-dlp --update" or "yt-dlp -U" to update"""}.', 'To suppress this warning, add --no-update to your command/config.'))) return None