From 251238e90faa883f2f689c925df463aacd1f9b48 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Tue, 8 Sep 2020 09:46:45 +0100 Subject: [PATCH] updates --- komrade/backend/keymaker.py | 1 + komrade/backend/operators.py | 4 ++-- komrade/constants.py | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/komrade/backend/keymaker.py b/komrade/backend/keymaker.py index 131664d..7a02ee1 100644 --- a/komrade/backend/keymaker.py +++ b/komrade/backend/keymaker.py @@ -93,6 +93,7 @@ class Keymaker(Logger): @property def uri_id(self): if not hasattr(self,'_uri_id') or not self._uri_id: + # try to load? contact_fnfn = os.path.join(PATH_QRCODES,self.name+'.png') print(contact_fnfn,os.path.exists(contact_fnfn)) diff --git a/komrade/backend/operators.py b/komrade/backend/operators.py index fabdf17..9103238 100644 --- a/komrade/backend/operators.py +++ b/komrade/backend/operators.py @@ -441,10 +441,10 @@ def create_phonelines(): ) # store URIs - # op.save_uri_as_qrcode(odir=PATH_OPERATOR_WEB_CONTACTS_DIR) + op.save_uri_as_qrcode(odir=PATH_OPERATOR_WEB_CONTACTS_DIR) # op.save_uri_as_qrcode() - # phone.save_uri_as_qrcode(odir=PATH_OPERATOR_WEB_CONTACTS_DIR) + phone.save_uri_as_qrcode(odir=PATH_OPERATOR_WEB_CONTACTS_DIR) # phone.save_uri_as_qrcode() ## store remote keys diff --git a/komrade/constants.py b/komrade/constants.py index c8706b4..40727fd 100644 --- a/komrade/constants.py +++ b/komrade/constants.py @@ -64,8 +64,7 @@ OPERATOR_INTERCEPT_MESSAGE = "If you'd like to make a call, please hang up and t KEYMAKER_DEFAULT_KEYS_TO_SAVE = ['pubkey'] # KEYMAKER_DEFAULT_KEYS_TO_RETURN = ['privkey_encr', -KEYMAKER_DEFAULT_KEYS_TO_RETURN = ['pubkey', - 'privkey_encr', +KEYMAKER_DEFAULT_KEYS_TO_RETURN = ['privkey_encr', # pubkey returnd as QR 'adminkey_encr', 'privkey_decr_encr', 'privkey_decr_decr',