Merge pull request #3 from qurator-spk/cneud-patch-1

fix snippets
pull/4/head
Kai Labusch 4 years ago committed by GitHub
commit eca7823b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -275,6 +275,6 @@ def make_page2tsv_commands(xls_file, directory, purpose):
if ma: if ma:
print('page2tsv {} {}.tsv ' print('page2tsv {} {}.tsv '
'--image-url=https://content.staatsbibliothek-berlin.de/dc/' '--image-url=https://content.staatsbibliothek-berlin.de/dc/'
'{}-{:08d}/left,top,width,height/1200,/0/default.jpg --scale-factor=1.0 --purpose={}'. '{}-{:08d}/left,top,width,height/full/0/default.jpg --scale-factor=1.0 --purpose={}'.
format(file, ma.group(1), ma.group(2), int(ma.group(3)), purpose)) format(file, ma.group(1), ma.group(2), int(ma.group(3)), purpose))

Loading…
Cancel
Save