Only start if not already in pending_servers

This was only in one call site previously, not both.
This commit is contained in:
Neil Booth 2015-05-22 16:28:46 +09:00
parent 31ffd4b381
commit 2f34f3db21

View file

@ -368,7 +368,7 @@ class Network(util.DaemonThread):
self.send_subscriptions()
self.set_status('connected')
self.notify('updated')
else:
elif server not in self.pending_servers:
self.print_error("starting %s; will switch once connected" % server)
self.start_interface(server)