mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-09 11:49:55 +02:00
🧹 page_info: Name structMap type columns a bit more consistently
This commit is contained in:
parent
3ec0f8c62a
commit
b8980bbf25
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
|
|||
for struct_div in struct_divs:
|
||||
type_ = struct_div.attrib.get("TYPE")
|
||||
assert type_
|
||||
page_dict[f"structmap_LOGICAL_TYPE_{type_}"] = 1
|
||||
page_dict[f"structMap-LOGICAL_TYPE_{type_}"] = 1
|
||||
|
||||
from pprint import pprint; pprint(page_dict); print()
|
||||
result.append(page_dict)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue