From 2f34f3db2151e12138d568feb69bbec12c0d9dd8 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 22 May 2015 16:28:46 +0900 Subject: [PATCH] Only start if not already in pending_servers This was only in one call site previously, not both. --- lib/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network.py b/lib/network.py index c070862a0..437de2722 100644 --- a/lib/network.py +++ b/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)