Skip to content

Commit

Permalink
main func return 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Woosub-Kim committed Aug 26, 2021
1 parent 2ef64cf commit c699dec
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions probeit/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
from .classmodule import Probeit
import sys


def main():
args = sys.argv[1:]
probeit = Probeit(args)
probeit.checkArgs()
quit()
try:
args = sys.argv[1:]
probeit = Probeit(args)
probeit.checkArgs()
return 0
except:
return 1


if __name__ == '__main__':
Expand Down

0 comments on commit c699dec

Please sign in to comment.