Commit 0bafe5cb authored by Adrian Petrescu's avatar Adrian Petrescu
Browse files

Fix hack incompatibility with cryptfile keyring

parent eeb60fa7
Pipeline #10111 passed with stage
in 47 seconds
......@@ -57,7 +57,10 @@ class lazy_credential:
def init_keyring():
# small hack to fix some weird issues with pyinstaller and keyring
# there seems to be a cache issue somewhere
del keyring.backend.get_all_keyring.__wrapped__.always_returns
try:
del keyring.backend.get_all_keyring.__wrapped__.always_returns
except AttributeError:
pass
keyring.core.init_backend()
# /end of hack
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment