Commit 1cab0e34 authored by David Hancock's avatar David Hancock

Fix path bug in controller

parent 41d8a726
......@@ -123,9 +123,9 @@ class Controller(object):
# TODO: fix this
json = '/home/ubuntu/hp4-src/hp4/hp4.json'
hjp_check = Path('hp4_json_path')
hjp_check = Path('hp4controller/hp4_json_path')
if hjp_check.is_file():
with open(hp4_json_path, 'r') as hjp:
with open('hp4_json_path', 'r') as hjp:
json = hjp.readline()[:-1]
runtime_CLI.load_json_config(std_client, json)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment