Skip to content

Commit

Permalink
DMED-119 - fix validation error for "cclom:duration"
Browse files Browse the repository at this point in the history
  • Loading branch information
bergatco committed Sep 26, 2024
1 parent 62c7e50 commit 090da20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter/es_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def transform_item(self, uuid, spider, item):
f"seconds to milliseconds. ('cclom:duration' expects ms)"
)
pass
spaces["cclom:duration"] = duration
spaces["cclom:duration"] = str(duration)
if "format" in item["lom"]["technical"]:
spaces["cclom:format"] = item["lom"]["technical"]["format"]
if "location" in item["lom"]["technical"]:
Expand Down

0 comments on commit 090da20

Please sign in to comment.