🐛 ppn2ocr: Remove LOCAL file group too

This commit is contained in:
Gerber, Mike 2020-06-04 19:55:00 +02:00
parent 4e19e2a655
commit 448bf9e256

View file

@ -87,9 +87,10 @@ def make_workspace(ppn, workspace):
mets = oai_mets(ppn)
# XXX
# Delete PRESENTATION file group
# (local file:/// links, not handled well by "ocrd workspace")
# Delete PRESENTATION + LOCAL file groups
# (local file:/// or file:/ links, not handled well by "ocrd workspace")
remove_file_grp(mets, 'PRESENTATION')
remove_file_grp(mets, 'LOCAL')
# Duplicate DEFAULT file group into a new file group BEST