From baef7d190f32614d29e0504c2833b97f32c8ccca Mon Sep 17 00:00:00 2001 From: oloturia Date: Mon, 10 May 2021 14:55:56 +0200 Subject: [PATCH] better filename save (thanks to Itec) --- randstrip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randstrip.py b/randstrip.py index 827d7e6..2e6af0b 100755 --- a/randstrip.py +++ b/randstrip.py @@ -247,7 +247,7 @@ if __name__ == "__main__": if args.output == False: print(story) else: - finalStrip.save(str(ist)+fileName+".png") + finalStrip.save(fileName + str(ist).zfill(3) + ".png") if args.a4: ypos = 100