🥅 Catch shell error when input are ascending

relate to forga/process/fr/embarquement#6
This commit is contained in:
free_zed 2021-04-16 23:57:27 +02:00 committed by freezed
parent 473b21b430
commit e72d834bab
1 changed files with 5 additions and 1 deletions

View File

@ -123,7 +123,11 @@ if __name__ == "__main__":
doctest.testmod()
# SETUPS
ARGS = argparse_setup()
try:
ARGS = argparse_setup()
except SystemExit:
sys.exit()
logging_setup(ARGS)
# CHECKS INPUTS