From c04bb15eec5064ffec9e91508610f2977c62dd89 Mon Sep 17 00:00:00 2001 From: itec78 Date: Tue, 11 May 2021 15:00:32 +0200 Subject: [PATCH] fixed page number --- randstrip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randstrip.py b/randstrip.py index 2e6af0b..b20596a 100755 --- a/randstrip.py +++ b/randstrip.py @@ -257,7 +257,7 @@ if __name__ == "__main__": quit() pagePdf = list() - for pag in range(0,int(args.multiple[0]/6)+1): + for pag in range(0,int((args.multiple[0]-1)/6+1)): pagePdf.append(Image.new('RGB',(2479,3508),(255,255,255))) for ist,strip_num in enumerate(range(0,args.multiple[0])):