Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
lubojr committed Feb 13, 2024
1 parent 5d04a3b commit f60ee4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def retrieveExtentFromWMSWMTS(capabilties_url, layer, wmts=False):
else:
service = WebMapTileService(capabilties_url)
if layer in list(service.contents):
tps = []
if not wmts and service[layer].timepositions != None:
tps = service[layer].timepositions
elif wmts:
Expand Down

0 comments on commit f60ee4d

Please sign in to comment.