mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix deserialize_server bug
This commit is contained in:
parent
3b8184cef3
commit
cf0fcac9fa
1 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||||
|
try:
|
||||||
host, port, protocol = deserialize_server(s)
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue