Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKallekleiv committed Jan 31, 2025
1 parent 5a08ae1 commit 1942d2f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ async def try_query_with_field(field: GridPropertyField) -> Tuple[Optional[str],
# Try with tagname first
grid_geometry_id, grid_property_id = await try_query_with_field(GridPropertyField.TAGNAME)

if grid_geometry_id is None:
raise InvalidDataError("Did not find expected document types", service=Service.SUMO)
# If no results, try with geometry.name
if grid_property_id is None:
grid_geometry_id, grid_property_id = await try_query_with_field(GridPropertyField.GEOMETRY_NAME)
Expand Down

0 comments on commit 1942d2f

Please sign in to comment.