Skip to content

Commit

Permalink
Do not try to activate org.freedesktop.secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
alxchk committed May 25, 2017
1 parent 1b41c18 commit a1b0ff2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Linux/lazagne/softwares/wallet/libsecret.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ def run(self, software_name = None):
for _, session in homes.sessions():
try:
bus = dbus.bus.BusConnection(session)

if not 'org.freedesktop.secrets' in [ str(x) for x in bus.list_names() ]:
continue

collections = list(secretstorage.collection.get_all_collections(bus))

except Exception, e:
print e
continue
Expand Down

0 comments on commit a1b0ff2

Please sign in to comment.