From cf0fcac9faa053ca8bf86e47f15aaaa64ff6f1e5 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 28 Mar 2015 19:17:07 +0100 Subject: [PATCH] fix deserialize_server bug --- lib/network.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/network.py b/lib/network.py index 483d5ce5b..198cd2089 100644 --- a/lib/network.py +++ b/lib/network.py @@ -236,7 +236,10 @@ class Network(util.DaemonThread): else: out = DEFAULT_SERVERS for s in self.recent_servers: - host, port, protocol = deserialize_server(s) + try: + host, port, protocol = deserialize_server(s) + except: + continue if host not in out: out[host] = { protocol:port } return out