mirror of https://github.com/Riesi/frog_emojis.git
Fix out of bounds resolution error in gen_py script
This commit is contained in:
parent
5df6a68a0a
commit
f0805eca1e
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue