mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
put exit() back
This commit is contained in:
2
jc/jc.py
2
jc/jc.py
@ -79,7 +79,6 @@ def errormessage(message):
|
|||||||
'''
|
'''
|
||||||
|
|
||||||
print(textwrap.dedent(error_string), file=sys.stderr)
|
print(textwrap.dedent(error_string), file=sys.stderr)
|
||||||
exit()
|
|
||||||
|
|
||||||
|
|
||||||
def compatibility(mod_name, compatible):
|
def compatibility(mod_name, compatible):
|
||||||
@ -87,6 +86,7 @@ def compatibility(mod_name, compatible):
|
|||||||
mod = mod_name.split('.')[-1]
|
mod = mod_name.split('.')[-1]
|
||||||
compat_list = ', '.join(compatible)
|
compat_list = ', '.join(compatible)
|
||||||
errormessage(f'{mod} parser not compatible with your OS ({sys.platform}).\n Compatible platforms: {compat_list}')
|
errormessage(f'{mod} parser not compatible with your OS ({sys.platform}).\n Compatible platforms: {compat_list}')
|
||||||
|
exit()
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Reference in New Issue
Block a user