From 82592b856dc90b9f7c4bfc55bf1925a784fbf479 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Wed, 29 Mar 2017 01:03:15 -0400 Subject: [PATCH] don't setup interactively if we request it --- blockstack_client/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockstack_client/cli.py b/blockstack_client/cli.py index 2de26b640..d508514cc 100644 --- a/blockstack_client/cli.py +++ b/blockstack_client/cli.py @@ -377,7 +377,7 @@ def run_cli(argv=None, config_path=CONFIG_PATH): analytics_user_register( client_uuid, email_addr ) - res = config.setup_config(config_path=config_path, interactive=True) + res = config.setup_config(config_path=config_path, interactive=(os.environ.get("BLOCKSTACK_CLIENT_INTERACTIVE_YES") != '1')) if 'error' in res: exit_with_error("Failed to load and verify config file: {}".format(res['error']))