aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/cookies.py3
1 files changed, 1 insertions, 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):