tprint connected to message synchronously - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b4cef1b98111bea53c37c8f7f435c18cb786fc81 DIR parent 6f2471b69bbc670e11376a27460ac122c47302f5 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 3 Oct 2013 13:56:31 +0200 print connected to message synchronously Diffstat: M electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum b/electrum t@@ -338,10 +338,10 @@ if __name__ == '__main__': # open session if cmd.requires_network and not options.offline: network = Network(config) - network.register_callback('connected', lambda: sys.stderr.write("Connected to " + network.interface.connection_msg + "\n")) if not network.start(wait=True): print_msg("Not connected, aborting.") sys.exit(1) + print_msg("Connected to " + network.interface.connection_msg) if wallet: wallet.start_threads(network)