From 2cd7f5b4fccf6f9d158d3a18b46813357bfc9cb9 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 20 Mar 2020 15:10:41 +0100 Subject: missing update to use ogConfig.OG_PATH in linux/ogOperations.py --- src/linux/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/linux') diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index 1f2d1bb..de11645 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -139,7 +139,7 @@ def setup(request, ogRest): except: raise ValueError('Error: Incorrect command value') - cmd_get_conf = OG_PATH + 'interfaceAdm/getConfiguration' + cmd_get_conf = f'{ogConfig.OG_PATH}interfaceAdm/getConfiguration' result = subprocess.check_output([cmd_get_conf], shell=True) return parseGetConf(result.decode('utf-8')) -- cgit v1.2.3-18-g5258