fix deserialize_server bug
This commit is contained in:
@@ -236,7 +236,10 @@ class Network(util.DaemonThread):
|
|||||||
else:
|
else:
|
||||||
out = DEFAULT_SERVERS
|
out = DEFAULT_SERVERS
|
||||||
for s in self.recent_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:
|
if host not in out:
|
||||||
out[host] = { protocol:port }
|
out[host] = { protocol:port }
|
||||||
return out
|
return out
|
||||||
|
|||||||
Reference in New Issue
Block a user