Commit 36c82549 authored by flothoni's avatar flothoni
Browse files; add a minor modification to allow to use a more explicit config json file

parent de12acb3
Pipeline #176164 passed with stages
in 13 minutes and 9 seconds
......@@ -102,7 +102,9 @@ class ConfigMapper(IdMapper):
with open(cfile, 'r') as cfg:
config_map = json.load(cfg, encoding='utf-8')
for key in config_map:
self.mapping[long(key)] = config_map[key]
if config_map[key]["link_local"]:
self.mapping[long(key)] = config_map[key]["link_local"]"mapping loaded")
self.log.debug("mapping: " + str(self.mapping.keys()))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment