Merge branch 'master' of gitorious.org:electrum/electrum

This commit is contained in:
ThomasV 2012-06-23 14:14:31 +04:00
commit 97b96b89bd
1 changed files with 4 additions and 1 deletions

View File

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