mirror of
https://github.com/qurator-spk/page2tsv.git
synced 2025-06-13 13:29:53 +02:00
fix #7
This commit is contained in:
parent
abcdb67e9e
commit
318d9bd122
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ def make_page2tsv_commands(xls_file, directory, purpose):
|
||||||
elif directory is not None:
|
elif directory is not None:
|
||||||
for file in glob.glob('{}/**/*.xml'.format(directory), recursive=True):
|
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:
|
if ma:
|
||||||
print('page2tsv {} {}.tsv '
|
print('page2tsv {} {}.tsv '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue