Skip to content

Commit

Permalink
no get for list
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Dec 10, 2023
1 parent 3bdb040 commit 75e5516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/config-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def authorized_key_for(account_name):
"""
for signer_val in OCTEZ_SIGNERS.values():
if account_name in signer_val["accounts"]:
return signer_val["authorized_keys"].get(0)
return signer_val["authorized_keys"][0] if signer_val["authorized_keys"] else None
return

def expose_secret_key(account_name):
Expand Down

0 comments on commit 75e5516

Please sign in to comment.