Skip to content

Commit fa8fd95

Browse files
committed
[cookies] Fix keyring selection for unsupported desktops
Closes yt-dlp#2450
1 parent 05b23b4 commit fa8fd95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

yt_dlp/cookies.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,7 @@ def _get_linux_desktop_environment(env):
669669
return _LinuxDesktopEnvironment.GNOME
670670
elif 'KDE_FULL_SESSION' in env:
671671
return _LinuxDesktopEnvironment.KDE
672-
else:
673-
return _LinuxDesktopEnvironment.OTHER
672+
return _LinuxDesktopEnvironment.OTHER
674673

675674

676675
def _choose_linux_keyring(logger):

0 commit comments

Comments
 (0)