tfix http session init - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 35ecbff7a5530cfba7309a2fd6004520d8c9437b DIR parent 572d9b482a0d4ac6aa96de2aca47f768defadf2c HTML Author: ecdsa <ecdsa@github> Date: Sun, 7 Apr 2013 21:48:37 +0200 fix http session init Diffstat: M lib/interface.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -191,6 +191,7 @@ class Interface(threading.Thread): def init_http(self, host, port, proxy=None, use_ssl=True): self.init_server(host, port, proxy, use_ssl) self.session_id = None + self.is_connected = True self.connection_msg = ('https' if self.use_ssl else 'http') + '://%s:%d'%( self.host, self.port ) try: self.poll()