From 7963eebea771fb5e437bc6b6546d44eec182ed72 Mon Sep 17 00:00:00 2001 From: Hannes Feldt <feldt@astron.nl> Date: Tue, 8 Oct 2024 13:23:43 +0200 Subject: [PATCH] fix --- pypcc/yamlconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypcc/yamlconfig.py b/pypcc/yamlconfig.py index 5f35b1e..8186469 100644 --- a/pypcc/yamlconfig.py +++ b/pypcc/yamlconfig.py @@ -33,7 +33,7 @@ class yamlconfig(): if yamlfile.split('.')[-1]=='yaml': self.conf=yaml.load(open(yamlfile), Loader=yaml.FullLoader) else: - pkg_data_file = pathlib.Path("etc", "hwtr", (yamlfile+'.yaml')) + pkg_data_file = pathlib.Path("/etc", "hwtr", (yamlfile+'.yaml')) self.conf=yaml.load(pkg_data_file.open(), Loader=yaml.FullLoader) self.expand_variables() # print([[v['name'],v.get('devreg')] for v in var1]) -- GitLab