git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
572d9b4
)
fix http session init
author
ecdsa
<ecdsa@github>
Sun, 7 Apr 2013 19:48:37 +0000 (21:48 +0200)
committer
ecdsa
<ecdsa@github>
Sun, 7 Apr 2013 19:48:37 +0000 (21:48 +0200)
lib/interface.py
patch
|
blob
|
history
diff --git
a/lib/interface.py
b/lib/interface.py
index
7386b1b
..
a78bd71
100644
(file)
--- a/
lib/interface.py
+++ b/
lib/interface.py
@@
-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()