Skip to content

Commit

Permalink
include PDF and ZIP ressource types
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Feb 14, 2024
1 parent deca8d8 commit 602c554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hakai_ckan_records_checks/hakai.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _test(condition, level, message):
_test(resource["url"] != "", "ERROR", "Empty resource url")
_test(resource["format"] != "", "ERROR", "Empty resource format")
_test(
resource["format"] in ["HTML", "ERDDAP", "OBIS"],
resource["format"] in ["HTML", "ERDDAP", "OBIS","PDF","ZIP"],
"ERROR",
f"Invalid resource format: resources[{index}].format={resource['format']}",
)
Expand Down

0 comments on commit 602c554

Please sign in to comment.