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:
@@ -252,7 +252,7 @@ class Network(util.DaemonThread):
|
||||
return host, port, protocol, self.proxy, self.auto_connect()
|
||||
|
||||
def auto_connect(self):
|
||||
return self.config.get('auto_cycle', False)
|
||||
return self.config.get('auto_connect', False)
|
||||
|
||||
def get_interfaces(self):
|
||||
return self.interfaces.keys()
|
||||
|
||||
Reference in New Issue
Block a user