Program not exits on error.
This commit is contained in:
parent
f7021195f5
commit
bc072b2e10
@ -169,11 +169,11 @@ if __name__ == "__main__":
|
||||
exit(1)
|
||||
else:
|
||||
if sys.argv[1] == "setup":
|
||||
project_gen()
|
||||
gen_dev_server()
|
||||
if project_gen() != 0: exit(1)
|
||||
if gen_dev_server() != 0: exit(1)
|
||||
elif sys.argv[1] == "project":
|
||||
project_gen()
|
||||
if project_gen() != 0: exit(1)
|
||||
elif sys.argv[1] == "server":
|
||||
gen_dev_server()
|
||||
if gen_dev_server() != 0: exit(1)
|
||||
elif sys.argv[1] == "reset":
|
||||
reset()
|
Loading…
Reference in New Issue
Block a user