Loading src/rpc/methods.py +2 −2 Original line number Diff line number Diff line Loading @@ -3157,7 +3157,7 @@ def update_collection_from_xlsx_row(user: User, collection_data: dict) -> bool: for k in collection_data.keys(): if k and ":" in k: # example: Dublin Core: creator meta_set_name, meta_name = [x.strip() for x in k.split(":")] meta_set_name, meta_name = [x.strip() for x in k.split(":", 1)] if ( meta_set_name and meta_name Loading Loading @@ -3220,7 +3220,7 @@ def update_resource_from_xlsx_row(user: User, resource_data: dict) -> bool: for k in resource_data.keys(): if k and ":" in k: # example: Dublin Core: creator meta_set_name, meta_name = [x.strip() for x in k.split(":")] meta_set_name, meta_name = [x.strip() for x in k.split(":", 1)] if ( meta_set_name and meta_name Loading Loading
src/rpc/methods.py +2 −2 Original line number Diff line number Diff line Loading @@ -3157,7 +3157,7 @@ def update_collection_from_xlsx_row(user: User, collection_data: dict) -> bool: for k in collection_data.keys(): if k and ":" in k: # example: Dublin Core: creator meta_set_name, meta_name = [x.strip() for x in k.split(":")] meta_set_name, meta_name = [x.strip() for x in k.split(":", 1)] if ( meta_set_name and meta_name Loading Loading @@ -3220,7 +3220,7 @@ def update_resource_from_xlsx_row(user: User, resource_data: dict) -> bool: for k in resource_data.keys(): if k and ":" in k: # example: Dublin Core: creator meta_set_name, meta_name = [x.strip() for x in k.split(":")] meta_set_name, meta_name = [x.strip() for x in k.split(":", 1)] if ( meta_set_name and meta_name Loading