deepaas-cli
returns exit code 1 even if the prediction is successful
#160
Labels
bug
Something isn't working
This happens because, in the console script wrapper,
sys.exit
takes any non 0 returned value as exit code 1 (exception). (ref)In
cli.py
:--> exit code 0 (success)
--> exit code 1 (error)
If we finally don't need them, consider removing
return
s fromcli.py
The text was updated successfully, but these errors were encountered: