diff --git a/python/v1/rainbow/client.py b/python/v1/rainbow/client.py index 6297c84..7dc25b1 100644 --- a/python/v1/rainbow/client.py +++ b/python/v1/rainbow/client.py @@ -23,7 +23,7 @@ def __init__(self, host="localhost:50051", config_file=None, database=None): Create a new rainbow client to interact with a rainbow cluster. """ self.cfg = config.RainbowConfig(config_file) - self.host = self.cfg.get("scheduler", {}).get("host") or host + self.host = self.cfg.get("graphdatabase", {}).get("options", {}).get("host") or host # load the graph database backend self.set_database(database)