mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-07-31 20:59:52 +02:00
fix namespace typo: s/mets/mods/
Co-authored-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
82769077df
commit
3a8bfa74cc
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class OcrdNeatExportProcessor(Processor):
|
||||||
iiif_url_template = self.parameter['iiif_url_template']
|
iiif_url_template = self.parameter['iiif_url_template']
|
||||||
noproxy = self.parameter['noproxy']
|
noproxy = self.parameter['noproxy']
|
||||||
|
|
||||||
ppn_found = self.workspace.mets._tree.find('//mods:mods/mods:recordInfo/mets:recordIdentifier[@source="gbv-ppn"]', NS)
|
ppn_found = self.workspace.mets._tree.find('//mods:mods/mods:recordInfo/mods:recordIdentifier[@source="gbv-ppn"]', NS)
|
||||||
if ppn_found is not None:
|
if ppn_found is not None:
|
||||||
ppn = ppn_found.text
|
ppn = ppn_found.text
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue