Browse Source

[cookies] Fix keyring selection for unsupported desktops

Closes #2450
pull/2540/head
pukkandan 4 months ago
parent
commit
fa8fd95118
No known key found for this signature in database
GPG Key ID: F00D95A001F4698
  1. 3
      yt_dlp/cookies.py

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

Loading…
Cancel
Save