fix deserialize_server bug
This commit is contained in:
parent
3b8184cef3
commit
cf0fcac9fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue