fix deserialize_server bug

This commit is contained in:
ThomasV 2015-03-28 19:17:07 +01:00
parent 3b8184cef3
commit cf0fcac9fa
1 changed files with 4 additions and 1 deletions

View File

@ -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