1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-12-12 16:03:55 +01:00

[cookies] Fix keyring selection for unsupported desktops

Closes #2450
This commit is contained in:
pukkandan 2022-01-24 22:52:04 +05:30
parent 05b23b4156
commit fa8fd95118
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -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):