1
0

command line: wait until daemon is connected

This commit is contained in:
ThomasV
2014-07-25 13:30:27 +02:00
parent 3e6f903da3
commit 2120b1a573
4 changed files with 12 additions and 3 deletions

View File

@@ -125,7 +125,8 @@ class ClientThread(threading.Thread):
try:
new_id = self.network.interface.send([(method, params)], cb) [0]
except Exception as e:
self.queue.put(out = {'id':_id, 'error':str(e)})
self.queue.put({'id':_id, 'error':str(e)})
print_error("network interface error", str(e))
return
self.unanswered_requests[new_id] = _id