mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
read inputs in correct place
This commit is contained in:
parent
82e1882695
commit
09f244e325
@ -59,9 +59,9 @@ def run_configure(args, skip_if_exists=False):
|
|||||||
val = conf['database'][key]
|
val = conf['database'][key]
|
||||||
conf['database'][key] = input('Database {}? (default `{}`): '.format(key, val)) or val
|
conf['database'][key] = input('Database {}? (default `{}`): '.format(key, val)) or val
|
||||||
|
|
||||||
for key in ('host', 'port', 'rate'):
|
for key in ('host', 'port', 'rate'):
|
||||||
val = conf['statsd'][key]
|
val = conf['statsd'][key]
|
||||||
conf['statsd'][key] = input('Statsd {}? (default `{}`): '.format(key, val)) or val
|
conf['statsd'][key] = input('Statsd {}? (default `{}`): '.format(key, val)) or val
|
||||||
|
|
||||||
bigchaindb.config_utils.write_config(conf, config_path)
|
bigchaindb.config_utils.write_config(conf, config_path)
|
||||||
print('Ready to go!')
|
print('Ready to go!')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user