mirror of https://github.com/Riesi/frog_emojis.git
[util] fix typo and missing exit
This commit is contained in:
parent
b727fa14b2
commit
4108420cef
|
@ -102,8 +102,9 @@ def main():
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
for res in args.resolution or []:
|
for res in args.resolution or []:
|
||||||
if res > 0 and 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 of 0 < R > 2147483647!")
|
||||||
|
exit(1)
|
||||||
sizes = args.resolution
|
sizes = args.resolution
|
||||||
files = []
|
files = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue