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
ebd214f787
|
@ -108,7 +108,7 @@ def main():
|
||||||
|
|
||||||
for res in args.resolution or []:
|
for res in args.resolution or []:
|
||||||
if res <= 0 or res >= 2147483647:
|
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)
|
exit(1)
|
||||||
sizes = args.resolution
|
sizes = args.resolution
|
||||||
files = []
|
files = []
|
||||||
|
|
Loading…
Reference in New Issue