From 30b1b44337567775db1de4ffda23cf5702636020 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Mon, 23 Oct 2023 16:14:36 -0700 Subject: [PATCH] fix code error --- utils/config-generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/config-generator.py b/utils/config-generator.py index 52cfdb199..5e960b92a 100755 --- a/utils/config-generator.py +++ b/utils/config-generator.py @@ -462,7 +462,7 @@ def import_keys(all_accounts): account_values["pkh"] = pkh_b58 if MY_POD_TYPE == "signing" and \ - account_name in MY_POD_CONFIG["authorized_keys"]: + account_name in MY_POD_CONFIG.get("authorized_keys"): print(f" Appending authorized key: {pk_b58}") authorized_keys.append({"name": account_name, "value": pk_b58})