From 785ee4b7265f39880422a562964f62d311664c47 Mon Sep 17 00:00:00 2001 From: troymc Date: Fri, 25 Nov 2016 19:37:20 +0100 Subject: [PATCH] Fixed bug in create_rethinkdb_conf.py --- deploy-cluster-aws/create_rethinkdb_conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-cluster-aws/create_rethinkdb_conf.py b/deploy-cluster-aws/create_rethinkdb_conf.py index 9f0c6889..781efa65 100644 --- a/deploy-cluster-aws/create_rethinkdb_conf.py +++ b/deploy-cluster-aws/create_rethinkdb_conf.py @@ -17,9 +17,9 @@ parser.add_argument("--bind-http-to-localhost", help="should RethinkDB web interface be bound to localhost?", required=True) args = parser.parse_args() -bind_http_to_localhost = args.bind_http_to_localhost - -print('bind_http_to_localhost = {}'.format(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: +bind_http_to_localhost = (args.bind_http_to_localhost == 'True') # cwd = current working directory old_cwd = os.getcwd()