tfix #3175 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d96561bc9d387ee2a194f2a1da21e41d67ec7831 DIR parent 1a8de2b02ad978c0e394d09a9a1f3ed71af53f94 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 2 Nov 2017 09:40:11 +0100 fix #3175 Diffstat: M lib/websockets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/websockets.py b/lib/websockets.py t@@ -62,7 +62,7 @@ class WsClientThread(util.DaemonThread): util.DaemonThread.__init__(self) self.network = network self.config = config - self.response_queue = Queue.Queue() + self.response_queue = queue.Queue() self.subscriptions = defaultdict(list) def make_request(self, request_id): t@@ -80,7 +80,7 @@ class WsClientThread(util.DaemonThread): while self.is_running(): try: ws, request_id = request_queue.get() - except Queue.Empty: + except queue.Empty: continue try: addr, amount = self.make_request(request_id) t@@ -97,7 +97,7 @@ class WsClientThread(util.DaemonThread): while self.is_running(): try: r = self.response_queue.get(timeout=0.1) - except Queue.Empty: + except queue.Empty: continue util.print_error('response', r) method = r.get('method')