From d71a79b0245aebbff93fef5353dd17c39bbd1b40 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 12 Mar 2017 19:52:44 +0200 Subject: [PATCH] Actually without dbus this module can't even be loaded --- pupy/pupylib/PupyCredentials.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pupy/pupylib/PupyCredentials.py b/pupy/pupylib/PupyCredentials.py index 3ce52995..7356c6cd 100644 --- a/pupy/pupylib/PupyCredentials.py +++ b/pupy/pupylib/PupyCredentials.py @@ -33,7 +33,10 @@ from Crypto.Cipher import AES from Crypto import Random from StringIO import StringIO -import secretstorage +try: + import secretstorage +except: + pass class GnomeKeyring(object): def __init__(self):