aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/update.py
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2025-03-22 00:41:56 +0100
committerGitHub <noreply@github.com>2025-03-21 23:41:56 +0000
commitf36e4b6e65cb8403791aae2f520697115cb88dec (patch)
treec161d5f0a52648e0abca699a02cb9d6897deff45 /yt_dlp/update.py
parent983095485c731240aae27c950cb8c24a50827b56 (diff)
[cleanup] Misc (#12526)
Authored by: Grub4K, seproDev, gamer191, dirkf Co-authored-by: sepro <sepro@sepr0.com>
Diffstat (limited to 'yt_dlp/update.py')
-rw-r--r--yt_dlp/update.py2
1 files changed, 1 insertions, 1 deletions
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',