Exit after generating dummy config if none found

This commit is contained in:
Himanshu Goel 2022-10-22 15:56:14 -04:00
parent 54b33d98ee
commit 161978a69d

View file

@ -164,6 +164,7 @@ def main():
if not os.path.exists("config.json"):
generate_config(defaults)
sys.exit(0)
# If first argument is '--gen-config', generate config.json:
if len(sys.argv) > 1 and sys.argv[1] == "--gen-config":