Browse Source

Only start if not already in pending_servers

This was only in one call site previously, not both.
283
Neil Booth 10 years ago
parent
commit
2f34f3db21
  1. 2
      lib/network.py

2
lib/network.py

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

Loading…
Cancel
Save