Merge "Using sys.exit(main(sys.argv)) exit the program"
This commit is contained in:
commit
7c57f001e6
@ -116,4 +116,4 @@ def main(args):
|
||||
error("")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main(sys.argv)
|
||||
sys.exit(main(sys.argv))
|
||||
|
Loading…
x
Reference in New Issue
Block a user