mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-09 19:59:57 +02:00
⚡ MUse relative predicate
This commit is contained in:
parent
8fc4eeeb3b
commit
0acaa83163
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ def pages_to_dict(mets, raise_errors=True) -> List[Dict]:
|
|||
# it suffices to do this the old-fashioned way.
|
||||
|
||||
sm_links = mets.findall(
|
||||
f'//mets:structLink/mets:smLink[@xlink:to="{to_phys}"]', ns
|
||||
f'./mets:structLink/mets:smLink[@xlink:to="{to_phys}"]', ns
|
||||
)
|
||||
|
||||
targets = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue