From ebd214f78750d008ecc10e873baea8c93c70050d Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Wed, 26 Oct 2022 15:25:28 +0200 Subject: [PATCH] Fix out of bounds resolution error in gen_py script --- gen_png.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_png.py b/gen_png.py index 68c1f98..585f70e 100755 --- a/gen_png.py +++ b/gen_png.py @@ -108,7 +108,7 @@ def main(): for res in args.resolution or []: if res <= 0 or res >= 2147483647: - print("Resolutions have to be in the range of 0 < R > 2147483647!") + print("Resolutions have to be in the range between 0 and 2147483647!") exit(1) sizes = args.resolution files = []