diff --git a/src/core/pyros_django/env_monitor/plc_checker.py b/src/core/pyros_django/env_monitor/plc_checker.py index 60a1ffb..f599889 100644 --- a/src/core/pyros_django/env_monitor/plc_checker.py +++ b/src/core/pyros_django/env_monitor/plc_checker.py @@ -149,7 +149,8 @@ class PlcChecker(object): # ok with ./start_agent agentM #plc_config_dir = "./src/core/pyros_django/monitoring/" # ok with ./pyros start agentM - plc_config_dir = Path("../env_monitor/") + #plc_config_dir = Path("../env_monitor/") + plc_config_dir = os.path.join(os.environ.get("DJANGO_PATH"), "env_monitor") # When executing test, we're not in the monitoring folder if("pyros_django" == os.getcwd().split("/")[-1]): plc_config_dir = Path("./env_monitor/") -- libgit2 0.21.2