Commit e3148c74 authored by Agate's avatar Agate 💬

Merge branch 'cryptfile-hack' into 'master'

Fix hack incompatibility with cryptfile keyring

See merge request !8
parents eeb60fa7 0bafe5cb
Pipeline #10262 failed with stages
in 2 minutes and 13 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
......
Markdown is supported
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