diff --git a/lib/network.py b/lib/network.py index 483d5ce5..198cd208 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