tfix: pending_servers - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ae654b30b95ea69488b725a1917ac8885dcee525 DIR parent 8140d6c78e116edef6578799c73cfce374b296c8 HTML Author: ecdsa <ecdsa@github> Date: Mon, 16 Dec 2013 20:07:35 +0100 fix: pending_servers Diffstat: M lib/network.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -296,7 +296,9 @@ class Network(threading.Thread): self.start_random_interface() continue - self.pending_servers.remove(i.server) + if i.server in self.pending_servers: + self.pending_servers.remove(i.server) + if i.is_connected: #if i.server in self.interfaces: raise self.interfaces[i.server] = i