mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
quit after creating a new config file
This commit is contained in:
parent
426cb87039
commit
0d7a91ff6a
1 changed files with 3 additions and 0 deletions
|
|
@ -394,6 +394,9 @@ def load_program_config(config_path=None, bs=None):
|
|||
if len(loadedFiles) != 1:
|
||||
with open(global_singleton.config_location, "w") as configfile:
|
||||
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
|
||||
#since any edits are overlays to the default, these sections/options will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue