...and -n

This commit is contained in:
Tomáš Mládek 2021-09-19 13:36:31 +02:00
parent 1e1faaa4c9
commit 9a13c3c393

View file

@ -125,7 +125,7 @@ class KollagenBot:
] ]
mode = ["-m", args.mode] if args.mode else [] mode = ["-m", args.mode] if args.mode else []
num_images = ["-n", args.num_images] if args.num_images else [] num_images = ["-n", str(args.num_images)] if args.num_images else []
with NamedTemporaryFile(suffix=".png") as ntf: with NamedTemporaryFile(suffix=".png") as ntf:
shell_cmd_line = [ shell_cmd_line = [