From 2dbcd18c06dd78491026bcb6fbd770175de4948f Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Thu, 18 Nov 2021 16:31:36 +0100 Subject: #1065 revisit config_path initialization If current platform is Linux (either live, virtual or linux) expect /opt/opengnsys/ogclient/cfg/ to contain ogclient.json. If current platform is not Linux then we fallback to current directory. --- ogclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogclient') diff --git a/ogclient b/ogclient index 4f8ca56..41e7d41 100755 --- a/ogclient +++ b/ogclient @@ -22,7 +22,7 @@ from src.log import configure_logging def main(): - config_path = f'{ogClient.OG_PATH}ogclient/cfg/ogclient.json' + config_path = f'{ogClient.OG_PATH}cfg/ogclient.json' try: with open(config_path, 'r') as f: CONFIG = json.load(f) -- cgit v1.2.3-18-g5258