Skip to content

Commit

Permalink
Make KWallet backend have lower priority than Secret Service backend
Browse files Browse the repository at this point in the history
Secret Service is an XDG standard and thus should be preferred on
systems where both protocols are available.
  • Loading branch information
mitya57 committed Mar 13, 2016
1 parent c9bffc6 commit e49580f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyring/backends/kwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def priority(cls):
bus.get_object('org.kde.kwalletd5', '/modules/kwalletd5')
except dbus.DBusException:
raise RuntimeError('cannot connect to org.kde.kwalletd5')
return 5.1
return 4.9

def __init__(self, *arg, **kw):
super(DBusKeyring, self).__init__(*arg, **kw)
Expand Down

0 comments on commit e49580f

Please sign in to comment.