From 487b74b6e653fddb324af2cb57816bd7676ea8c6 Mon Sep 17 00:00:00 2001 From: Kai Date: Wed, 10 Mar 2021 14:06:51 +0100 Subject: [PATCH] #2 --- tsvtools/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsvtools/cli.py b/tsvtools/cli.py index d554f25..7133609 100644 --- a/tsvtools/cli.py +++ b/tsvtools/cli.py @@ -273,6 +273,6 @@ def make_page2tsv_commands(xls_file, directory, purpose): if ma: print('page2tsv {} {}.tsv ' '--image-url=https://content.staatsbibliothek-berlin.de/dc/' - '{}-{}/left,top,width,height/full/1200/default.jpg --scale-factor=1.0 --purpose={}'. - format(file, ma.group(1), ma.group(2), ma.group(3), purpose)) + '{}-{:08d}/left,top,width,height/full/1200,/0/default.jpg --scale-factor=1.0 --purpose={}'. + format(file, ma.group(1), ma.group(2), int(ma.group(3)), purpose))