From a8fdbd00382814ed1bf4d70bf83ddd2610eb8267 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sun, 24 Oct 2021 16:15:46 +0200 Subject: [PATCH] fix --viewer-initial-page (broken in last release) --- src/img2pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index ab1b2be..bce94d0 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -3937,7 +3937,7 @@ and left/right, respectively. It is not possible to specify asymmetric borders. # On windows, each positional argument can expand into multiple paths # because we do globbing ourselves. Here we flatten the list of lists # again. - images = chain.from_iterable(args.images) + images = list(chain.from_iterable(args.images)) elif len(args.images) == 0 and len(args.from_file) > 0: images = args.from_file