auto-reconnect to random server if server is not there
This commit is contained in:
@@ -382,7 +382,8 @@ class Interface(threading.Thread):
|
||||
def init_interface(self):
|
||||
if self.config.get('server'):
|
||||
self.init_with_server(self.config)
|
||||
else:
|
||||
|
||||
if not self.is_connected:
|
||||
print "Using random server..."
|
||||
servers = DEFAULT_SERVERS[:]
|
||||
while servers:
|
||||
|
||||
Reference in New Issue
Block a user