mirror of
https://github.com/borgbase/vorta
synced 2025-01-03 13:45:49 +00:00
Hotfix: Workaround for jeepney DBus-lib and asyncio event loop. Fixes #234
This commit is contained in:
parent
59f836d84c
commit
d773cfa3a2
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ def set_password(self, service, repo_url, password):
|
|||
collection.create_item(repo_url, attributes, password, replace=True)
|
||||
|
||||
def get_password(self, service, repo_url):
|
||||
asyncio.set_event_loop(asyncio.new_event_loop())
|
||||
collection = secretstorage.get_default_collection(self.connection)
|
||||
if collection.is_locked():
|
||||
collection.unlock()
|
||||
|
|
Loading…
Reference in a new issue