1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-08-16 13:09:53 +02:00

🧹 MODS: Add missing type='text' for mods:placeTerm

This commit is contained in:
Gerber, Mike 2025-08-07 19:32:37 +02:00
parent 2c47a34c14
commit 2f00dfcce0
2 changed files with 8 additions and 0 deletions

View file

@ -99,6 +99,7 @@ def mods_to_dict(mods, raise_errors=True):
value["placeTerm"] = (
TagGroup(tag, group)
.is_singleton()
.add_missing_type_text()
.has_attributes({"type": "text"})
.text()
)