1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

fix _Wait

This commit is contained in:
Jan Pochyla 2016-05-02 16:21:50 +02:00 committed by Pavol Rusnak
parent 06515321cf
commit 36dad0137b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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