From 9a13c3c393b9f7dce8e1f3f907cdb0a05bd85662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 19 Sep 2021 13:36:31 +0200 Subject: [PATCH] ...and -n --- tgbot/kollagen-bot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbot/kollagen-bot/main.py b/tgbot/kollagen-bot/main.py index 45b1a93..1e6eb72 100644 --- a/tgbot/kollagen-bot/main.py +++ b/tgbot/kollagen-bot/main.py @@ -125,7 +125,7 @@ class KollagenBot: ] 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: shell_cmd_line = [