Skip to content
Snippets Groups Projects
Commit 6c03d8b3 authored by Hock, Martin's avatar Hock, Martin
Browse files

Fix KPIEncoder caught in name to label property renaming.

parent 1fdf4dd8
No related branches found
No related tags found
No related merge requests found
...@@ -266,5 +266,5 @@ class KPIEncoder(json.JSONEncoder): ...@@ -266,5 +266,5 @@ class KPIEncoder(json.JSONEncoder):
if isinstance(o, uuid.UUID): if isinstance(o, uuid.UUID):
return "kpi-" + str(o) return "kpi-" + str(o)
if isinstance(o, (AggregationLayer)): if isinstance(o, (AggregationLayer)):
return "kpi-" + o.properties.label return "kpi-" + o.name
return super().default(o) return super().default(o)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment