1
0
Fork 0
mirror of https://github.com/qurator-spk/page2tsv.git synced 2025-06-09 19:39:54 +02:00
This commit is contained in:
Kai 2021-04-09 08:07:27 +02:00
parent abcdb67e9e
commit 318d9bd122

View file

@ -271,7 +271,7 @@ def make_page2tsv_commands(xls_file, directory, purpose):
elif directory is not None:
for file in glob.glob('{}/**/*.xml'.format(directory), recursive=True):
ma = re.match('(.*/(PPN[0-9]+)/.*?([0-9]+).*?).xml', file)
ma = re.match('(.*/(PPN[0-9X]+)/.*?([0-9]+).*?).xml', file)
if ma:
print('page2tsv {} {}.tsv '