Browse Source

auto-reconnect to random server if server is not there

283
thomasv 12 years ago
parent
commit
4180a426c5
  1. 3
      lib/interface.py

3
lib/interface.py

@ -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:

Loading…
Cancel
Save