Commit 428ac03e authored by Robin Knapp's avatar Robin Knapp

minor fix: location convertion v2

parent d92989ed
......@@ -281,7 +281,7 @@ class Converter(object):
cmds = nav.split('&')
# geo properties need special case due to their special syntax
if v2_model_key.lower() == 'location':
if blueprint[v2_model_key]['attributeType'].lower() == 'location':
i = 0
if not blueprint[v2_model_key]["attributeType"].lower() == 'location':
current_app.logger.debug(f"comparison with `location` in blueprint led to error")
Markdown is supported
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