From f36e4b6e65cb8403791aae2f520697115cb88dec Mon Sep 17 00:00:00 2001 From: Simon Sawicki Date: Sat, 22 Mar 2025 00:41:56 +0100 Subject: [cleanup] Misc (#12526) Authored by: Grub4K, seproDev, gamer191, dirkf Co-authored-by: sepro --- yt_dlp/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/update.py') diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 360f5ad58..8e887ec03 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -117,7 +117,7 @@ _FILE_SUFFIXES = { } _NON_UPDATEABLE_REASONS = { - **{variant: None for variant in _FILE_SUFFIXES}, # Updatable + **dict.fromkeys(_FILE_SUFFIXES), # Updatable **{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release' for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()}, 'py2exe': 'py2exe is no longer supported by yt-dlp; This executable cannot be updated', -- cgit v1.2.3