From 36dad0137b9748debff7a88906cb45eb6e069799 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 2 May 2016 16:21:50 +0200 Subject: [PATCH] fix _Wait --- src/trezor/loop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trezor/loop.py b/src/trezor/loop.py index 1b23f76318..415ea7f14f 100644 --- a/src/trezor/loop.py +++ b/src/trezor/loop.py @@ -58,7 +58,7 @@ class Wait(): def finish(self, gen, result): self.received += 1 - if self.received >= self.wait_for: + if self.received == self.wait_for: __call_at(None, self.callback) self.callback = None