fix --viewer-initial-page (broken in last release)

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-10-24 16:15:46 +02:00
parent 6ff175d637
commit a8fdbd0038
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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 # On windows, each positional argument can expand into multiple paths
# because we do globbing ourselves. Here we flatten the list of lists # because we do globbing ourselves. Here we flatten the list of lists
# again. # 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: elif len(args.images) == 0 and len(args.from_file) > 0:
images = args.from_file images = args.from_file