tfix: network start was calling __init__ - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 0ec436c02c5f186adefc86aa5b8becdcd5091af6 DIR parent 828d8fd3ed19485b0d67d2929c6002fed8727fd9 HTML Author: thomasv <thomasv@gitorious> Date: Tue, 10 Sep 2013 16:42:11 +0200 fix: network start was calling __init__ Diffstat: M lib/interface.py | 2 ++ M lib/network.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -143,6 +143,7 @@ class Interface(threading.Thread): elif method == 'server.banner': self.banner = result + print "banner" self.network.trigger_callback('banner') elif method == 'server.peers.subscribe': t@@ -605,6 +606,7 @@ class Interface(threading.Thread): self.change_status() def change_status(self): + #print "change status", self.server, self.is_connected self.queue.put(self) DIR diff --git a/lib/network.py b/lib/network.py t@@ -54,7 +54,7 @@ class Network(threading.Thread): def start(self, wait=False): self.start_interfaces() - threading.Thread.__init__(self) + threading.Thread.start(self) if wait: self.interface.connect_event.wait() return self.interface.is_connected