From 13a23f1759fe146deabcdc615f28295d6e35de61 Mon Sep 17 00:00:00 2001 From: baloola Date: Sun, 16 Jun 2024 23:08:04 +0200 Subject: [PATCH] fix a typo --- stac/stac-generator/test/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stac/stac-generator/test/validator.py b/stac/stac-generator/test/validator.py index 0a3b0c7b..60c0df4d 100644 --- a/stac/stac-generator/test/validator.py +++ b/stac/stac-generator/test/validator.py @@ -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"]