Browse Source

(trivial) convert more config keys

master
SomberNight 3 years ago
parent
commit
3ab47e1c45
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 4
      run_electrum

4
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()

Loading…
Cancel
Save