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
1 changed files with 1 additions and 1 deletions

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