mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fixed bug in create_rethinkdb_conf.py
This commit is contained in:
parent
81cb1f32d3
commit
785ee4b726
@ -17,9 +17,9 @@ parser.add_argument("--bind-http-to-localhost",
|
|||||||
help="should RethinkDB web interface be bound to localhost?",
|
help="should RethinkDB web interface be bound to localhost?",
|
||||||
required=True)
|
required=True)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
bind_http_to_localhost = args.bind_http_to_localhost
|
# args.bind_http_to_localhost is a string at this point.
|
||||||
|
# It's either 'True' or 'False' but we want a boolean:
|
||||||
print('bind_http_to_localhost = {}'.format(bind_http_to_localhost))
|
bind_http_to_localhost = (args.bind_http_to_localhost == 'True')
|
||||||
|
|
||||||
# cwd = current working directory
|
# cwd = current working directory
|
||||||
old_cwd = os.getcwd()
|
old_cwd = os.getcwd()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user