Skip to content

Commit

Permalink
Merge pull request #37 from PDOK/kad-korpem-patch-1
Browse files Browse the repository at this point in the history
Allow for 'tags' property not being present in OGC API tiles JSON
  • Loading branch information
kad-velsl authored Apr 30, 2024
2 parents 60ae94d + dadba22 commit f2ba77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngr_spider/ogc_api_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_info(self):
return Info(self.json["info"])

def get_tags(self):
return self.json["tags"]
return self.json.get('tags', []) or []

def get_servers(self):
return self.json["servers"]
Expand Down

0 comments on commit f2ba77c

Please sign in to comment.