From 0d7a91ff6a8fb7ecfa7cd766808c8a116213c87c Mon Sep 17 00:00:00 2001 From: undeath Date: Sun, 11 Nov 2018 20:03:18 +0100 Subject: [PATCH] quit after creating a new config file --- jmclient/jmclient/configure.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jmclient/jmclient/configure.py b/jmclient/jmclient/configure.py index 28101be..5c6d53f 100644 --- a/jmclient/jmclient/configure.py +++ b/jmclient/jmclient/configure.py @@ -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