1
0

try http if tcp fails.

This commit is contained in:
ThomasV
2013-01-03 21:36:25 +01:00
parent 3bae4e9761
commit 512a812872
2 changed files with 28 additions and 9 deletions

View File

@@ -205,7 +205,8 @@ if __name__ == '__main__':
interface = Interface(config, True)
wallet.interface = interface
interface.start()
interface.send([('server.peers.subscribe',[])])
if interface.is_connected:
interface.send([('server.peers.subscribe',[])])
set_language(config.get('language'))
gui = gui.ElectrumGui(wallet, config)