From 9f48cdb229706f93aea8be65cad2c433bfbf12ea Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Mon, 7 Sep 2020 14:12:26 +0100 Subject: [PATCH] finally! abolishing private key property --- komrade/backend/the_operator.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/komrade/backend/the_operator.py b/komrade/backend/the_operator.py index 91a54ba..3d91390 100644 --- a/komrade/backend/the_operator.py +++ b/komrade/backend/the_operator.py @@ -249,8 +249,13 @@ def init_operators(): if key in phone_decr_keys: STORE_IN_APP[TELEPHONE_NAME][key]=phone_decr_keys[key] - THIRD_PARTY_DICT = package_for_transmission(THIRD_PARTY_DICT) - STORE_IN_APP = package_for_transmission(STORE_IN_APP) + for name in THIRD_PARTY_DICT: + THIRD_PARTY_DICT[name] = package_for_transmission(THIRD_PARTY_DICT[name]) + self.log('THIRD_PARTY_DICT',THIRD_PARTY_DICT) + THIRD_PARTY_DICT=package_for_transmission(THIRD_PARTY_DICT) + # THIRD_PARTY_DICT[OPERATOR_NAME] = packa(THIRD_PARTY_DICT) + # STORE_IN_APP = package_for_transmission(STORE_IN_APP) + self.log('THIRD_PARTY_DICT',THIRD_PARTY_DICT) with open(PATH_BUILTIN_KEYCHAIN,'wb') as of: of.write(THIRD_PARTY_DICT)