From 09f244e325bd0fee9b008d2c63c9f065ea4accfa Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 22 Feb 2016 14:15:44 +0100 Subject: [PATCH] read inputs in correct place --- bigchaindb/commands/bigchain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigchaindb/commands/bigchain.py b/bigchaindb/commands/bigchain.py index a27a012c..33d37822 100644 --- a/bigchaindb/commands/bigchain.py +++ b/bigchaindb/commands/bigchain.py @@ -59,9 +59,9 @@ def run_configure(args, skip_if_exists=False): val = conf['database'][key] conf['database'][key] = input('Database {}? (default `{}`): '.format(key, val)) or val - for key in ('host', 'port', 'rate'): - val = conf['statsd'][key] - conf['statsd'][key] = input('Statsd {}? (default `{}`): '.format(key, val)) or val + for key in ('host', 'port', 'rate'): + val = conf['statsd'][key] + conf['statsd'][key] = input('Statsd {}? (default `{}`): '.format(key, val)) or val bigchaindb.config_utils.write_config(conf, config_path) print('Ready to go!')