[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,7 +669,6 @@ def _get_linux_desktop_environment(env):
return _LinuxDesktopEnvironment.GNOME return _LinuxDesktopEnvironment.GNOME
elif 'KDE_FULL_SESSION' in env: elif 'KDE_FULL_SESSION' in env:
return _LinuxDesktopEnvironment.KDE return _LinuxDesktopEnvironment.KDE
else:
return _LinuxDesktopEnvironment.OTHER return _LinuxDesktopEnvironment.OTHER