From 75284ef6cc0a8623a1fd023a9c1f6e01bb63732b Mon Sep 17 00:00:00 2001 From: goldcove Date: Mon, 14 Sep 2020 18:38:48 +0200 Subject: [PATCH] Reference to arm config file in /etc/arm Strange config file location in /opt/arm, and a symlinked file in /etc/arm. This commit uses the /etc/arm/arm.yaml as the config file. This is in line with the standard config file location. --- arm/config/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm/config/config.py b/arm/config/config.py index 945e3afb2..b34703c90 100644 --- a/arm/config/config.py +++ b/arm/config/config.py @@ -4,7 +4,7 @@ # import re import yaml -yamlfile = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../..", "arm.yaml") +yamlfile = os.path.join(os.path.dirname(os.path.abspath(__file__)), "/etc/arm", "arm.yaml") with open(yamlfile, "r") as f: cfg = yaml.load(f)