Browse Source

quit after creating a new config file

master
undeath 7 years ago
parent
commit
0d7a91ff6a
No known key found for this signature in database
GPG Key ID: F0DF5443BD2F3520
  1. 3
      jmclient/jmclient/configure.py

3
jmclient/jmclient/configure.py

@ -394,6 +394,9 @@ def load_program_config(config_path=None, bs=None):
if len(loadedFiles) != 1: if len(loadedFiles) != 1:
with open(global_singleton.config_location, "w") as configfile: with open(global_singleton.config_location, "w") as configfile:
configfile.write(defaultconfig) configfile.write(defaultconfig)
print("Created a new `joinmarket.cfg`. Please review and adopt the "
"settings and restart joinmarket.")
exit(1)
#These are left as sanity checks but currently impossible #These are left as sanity checks but currently impossible
#since any edits are overlays to the default, these sections/options will #since any edits are overlays to the default, these sections/options will

Loading…
Cancel
Save