From fa8fd951184017b9ba164dfa5e6d95d44ff6edd4 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 24 Jan 2022 22:52:04 +0530 Subject: [PATCH] [cookies] Fix keyring selection for unsupported desktops Closes #2450 --- yt_dlp/cookies.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt_dlp/cookies.py b/yt_dlp/cookies.py index d376d1460..700415b35 100644 --- a/yt_dlp/cookies.py +++ b/yt_dlp/cookies.py @@ -669,8 +669,7 @@ def _get_linux_desktop_environment(env): return _LinuxDesktopEnvironment.GNOME elif 'KDE_FULL_SESSION' in env: return _LinuxDesktopEnvironment.KDE - else: - return _LinuxDesktopEnvironment.OTHER + return _LinuxDesktopEnvironment.OTHER def _choose_linux_keyring(logger):