mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
Merge branch 'master' of gitorious.org:electrum/electrum
This commit is contained in:
commit
97b96b89bd
1 changed files with 4 additions and 1 deletions
|
@ -343,11 +343,14 @@ class WalletSynchronizer(threading.Thread):
|
|||
s = []
|
||||
host = item[1]
|
||||
ports = []
|
||||
version = None
|
||||
if len(item)>2:
|
||||
for v in item[2]:
|
||||
if re.match("[th]\d+",v):
|
||||
ports.append((v[0],v[1:]))
|
||||
if ports:
|
||||
if re.match("v(.?)+",v):
|
||||
version = v[1:]
|
||||
if ports and version:
|
||||
servers.append( (host, ports) )
|
||||
self.interface.servers = servers
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue