Rename auto_cycle to auto_connect in config
User config is updated if appropriate. Add tests behaviour is as expected. Just the one rename-it reference to auto_cycle remains.
This commit is contained in:
4
electrum
4
electrum
@@ -195,7 +195,7 @@ if __name__ == '__main__':
|
||||
'portable': True,
|
||||
'verbose': True,
|
||||
'gui': 'android',
|
||||
'auto_cycle': True,
|
||||
'auto_connect': True,
|
||||
}
|
||||
else:
|
||||
config_options = eval(str(options))
|
||||
@@ -203,7 +203,7 @@ if __name__ == '__main__':
|
||||
if v is None:
|
||||
config_options.pop(k)
|
||||
if config_options.get('server'):
|
||||
config_options['auto_cycle'] = False
|
||||
config_options['auto_connect'] = False
|
||||
|
||||
set_verbosity(config_options.get('verbose'))
|
||||
config = SimpleConfig(config_options)
|
||||
|
||||
Reference in New Issue
Block a user