Skip to content

Commit dbe5d24

Browse files
committed
Fixed method of adding property to ro-crate.
1 parent 402d6d7 commit dbe5d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/weko/schema/ro_crate_mebyo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _add_property_to_entity(
107107
if prop_type in [str, int, float]:
108108
_add_scalar_property(base_entity, prop_name, value)
109109

110-
elif mapping['prop_type'] in LANG_LIST and isinstance(value, str):
110+
elif mapping['prop_type'] in LANG_LIST:
111111
_add_lang_property(entity_list, base_entity, prop_name, prop_type, value, entity_id)
112112

113113
elif isinstance(value, list):

0 commit comments

Comments
 (0)