From 2a29d1e5e70fecbeb59e75a943b06d3303c64ad4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 25 Nov 2015 10:35:14 +0100 Subject: [PATCH] fix syntax error --- lib/websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/websockets.py b/lib/websockets.py index 21f302f2..38976b64 100644 --- a/lib/websockets.py +++ b/lib/websockets.py @@ -97,7 +97,7 @@ class WsClientThread(util.DaemonThread): elif method == 'blockchain.address.get_balance': addr = params[0] l = self.subscriptions.get(addr, []) - for ws, amount in :l: + for ws, amount in l: if not ws.closed: if sum(result.values()) >=amount: ws.sendMessage(unicode('paid'))