diff --git a/vecorel_cli/create_stac.py b/vecorel_cli/create_stac.py index fbc4df7..017b02a 100644 --- a/vecorel_cli/create_stac.py +++ b/vecorel_cli/create_stac.py @@ -179,7 +179,7 @@ def create( stac["assets"]["data"]["type"] = media_type # Add license handling - license = collection.get("license", "").strip() + license = (collection.get("license") or "").strip() if license.lower() == "dl-de/by-2-0": stac["links"].append( {