use sys.exit.

gitignore update
pull/4/head
l3uddz 7 years ago
parent 9425e0e2a5
commit f0d67898ab

5
.gitignore vendored

@ -28,3 +28,8 @@ __pycache__/
# Pyenv # Pyenv
**/.python-version **/.python-version
# PyInstaller
build/
*.manifest
*.spec

@ -96,6 +96,6 @@ def load_config():
# dump/load config # dump/load config
if build_config(): if build_config():
print("Please edit the default configuration before running again!") print("Please edit the default configuration before running again!")
exit(0) sys.exit(0)
else: else:
cfg = load_config() cfg = load_config()

Loading…
Cancel
Save