We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8275c5 commit 2050c2aCopy full SHA for 2050c2a
1 file changed
mapserver/knowledge/hierarchy.py
@@ -311,7 +311,7 @@ def get_hierachy(self, flatmap: str) -> dict:
311
hierarchy_file = os.path.join(settings['FLATMAP_ROOT'], flatmap, CACHED_MAP_HIERARCHY)
312
try:
313
with open(hierarchy_file) as fp:
314
- hierarchy= json.load(fp)
+ hierarchy = json.load(fp)
315
if hierarchy.get('graph', {}).get('version', '') >= TREE_VERSION:
316
return hierarchy
317
except Exception:
0 commit comments