Fix check for is locked
This commit is contained in:
parent
70731a7011
commit
7475c40308
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ class NextcloudHandler:
|
|||
def _get_encryption_pass_from_keyring(self):
|
||||
connection = secretstorage.dbus_init()
|
||||
collection = secretstorage.get_default_collection(connection)
|
||||
if collection.is_locked:
|
||||
if collection.is_locked():
|
||||
collection.unlock()
|
||||
for item in collection.get_all_items():
|
||||
if item.get_label() == 'nc_password_client':
|
||||
|
|
Loading…
Reference in a new issue