fix namespace typo: s/mets/mods/

Co-authored-by: Stefan Weil <sw@weilnetz.de>
pull/13/head
Konstantin Baierer 9 months ago committed by GitHub
parent 82769077df
commit 3a8bfa74cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save