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:
|
try:
|
||||||
while True:
|
while True:
|
||||||
await event.wait()
|
await event.wait()
|
||||||
while item := data.popleft():
|
while len(data) > 0:
|
||||||
|
item = data.popleft()
|
||||||
if item is None:
|
if item is None:
|
||||||
return
|
return
|
||||||
yield item
|
yield item
|
||||||
|
|
Loading…
Reference in New Issue