From b3c521fa72100555ab18773c5947191b3f0716cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Fri, 24 Jan 2020 16:08:00 +0100 Subject: [PATCH] Allow to use NUCYPHER_ALICE_ETH_PASSWORD envvar in interactive commands --- nucypher/cli/commands/alice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nucypher/cli/commands/alice.py b/nucypher/cli/commands/alice.py index b34653c96..7b7bba929 100644 --- a/nucypher/cli/commands/alice.py +++ b/nucypher/cli/commands/alice.py @@ -202,7 +202,8 @@ class AliceCharacterOptions: message = f"--json-ipc implies the {NUCYPHER_ENVVAR_ALICE_ETH_PASSWORD} envvar must be set." click.BadOptionUsage(option_name='--json-ipc', message=message) else: - client_password = get_client_password(checksum_address=config.checksum_address) + client_password = get_client_password(checksum_address=config.checksum_address, + envvar=NUCYPHER_ENVVAR_ALICE_ETH_PASSWORD) try: ALICE = actions.make_cli_character(character_config=config,