Skip to content

Commit

Permalink
Merge branch 'main' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Jun 16, 2024
2 parents 100e0aa + 13a23f1 commit ef64c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stac/stac-generator/test/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def validate_item(item: pystac.item.Item):
# Temporal
assert "t" in item.properties["cube:dimensions"].keys() or "time" in item.properties["cube:dimensions"].keys()
time = dict()
if "t" in item.properties["cube:dimensions"].keys() or "time" in item.properties["cube:dimensions"].keys():
if "t" in item.properties["cube:dimensions"].keys():
time = item.properties["cube:dimensions"]["t"]
else:
time = item.properties["cube:dimensions"]["time"]
Expand Down

0 comments on commit ef64c75

Please sign in to comment.