From 3ab47e1c457721294c00ec4300f7d2e05e948c64 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 5 Jun 2023 15:29:35 +0000 Subject: [PATCH] (trivial) convert more config keys --- run_electrum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_electrum b/run_electrum index 79eddd15f..d388de169 100755 --- a/run_electrum +++ b/run_electrum @@ -338,8 +338,8 @@ def main(): config_options = args.__dict__ f = lambda key: config_options[key] is not None and key not in config_variables.get(args.cmd, {}).keys() config_options = {key: config_options[key] for key in filter(f, config_options.keys())} - if config_options.get('server'): - config_options['auto_connect'] = False + if config_options.get(SimpleConfig.NETWORK_SERVER.key()): + config_options[SimpleConfig.NETWORK_AUTO_CONNECT.key()] = False config_options['cwd'] = cwd = os.getcwd()