Skip to content
Snippets Groups Projects
Commit 0bafe5cb authored by Adrian Petrescu's avatar Adrian Petrescu
Browse files

Fix hack incompatibility with cryptfile keyring

parent eeb60fa7
No related branches found
No related tags found
No related merge requests found
Pipeline #10111 passed
......@@ -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
try:
del keyring.backend.get_all_keyring.__wrapped__.always_returns
except AttributeError:
pass
keyring.core.init_backend()
# /end of hack
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment