forked from fair/matrix-puppeteer-line
Fix bug in login
This commit is contained in:
parent
ee7f6d44b0
commit
63dc8c04ea
|
@ -81,7 +81,8 @@ class Client(RPCClient):
|
|||
try:
|
||||
while True:
|
||||
await event.wait()
|
||||
while item := data.popleft():
|
||||
while len(data) > 0:
|
||||
item = data.popleft()
|
||||
if item is None:
|
||||
return
|
||||
yield item
|
||||
|
|
Loading…
Reference in New Issue