Event.wait() is async, and must be awaited
This commit is contained in:
parent
77d1477106
commit
975467030a
@ -58,7 +58,7 @@ class PSRequestHandler(object):
|
||||
|
||||
def __await__(self):
|
||||
# wait until 'process' is called
|
||||
yield from self.event.wait()
|
||||
yield from self.event.wait().__await__()
|
||||
return self._msg
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user