tgtk: on create, use the server already picked by the interface - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 14da12921d3aeb3500a22692c2992ff4ca40aacd DIR parent 8220b0f743e52b1cdb19bc4dedc58258700eeb7c HTML Author: thomasv <thomasv@gitorious> Date: Tue, 16 Oct 2012 09:29:08 +0200 gtk: on create, use the server already picked by the interface Diffstat: M lib/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui.py b/lib/gui.py t@@ -328,11 +328,11 @@ def run_network_dialog( wallet, parent ): status = "Connected to %s:%d\n%d blocks"%(interface.host, interface.port, wallet.blocks) else: status = "Not connected" - server = interface.server else: import random status = "Please choose a server." - server = random.choice( DEFAULT_SERVERS ) + + server = interface.server if not wallet.interface.servers: servers_list = []