Skip to content

Commit

Permalink
fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Jun 16, 2024
1 parent a57e921 commit 13a23f1
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 13a23f1

Please sign in to comment.