forked from Riesi/frog_emojis_old
[util] fix typo and missing exit
This commit is contained in:
parent
58feec6ec7
commit
902f457dd8
|
@ -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