mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-26 01:27:07 +00:00
Fixed SSE.
This commit is contained in:
parent
343eedb8ac
commit
79949ff80f
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ class EventStream:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
if self.queue or (len(self.queue) > 0):
|
if self.queue:
|
||||||
yield self.queue.popleft()
|
return self.queue.popleft()
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue