1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 09:12:38 +00:00

Fixed SSE.

This commit is contained in:
Louis Vézina 2019-12-24 11:26:14 -05:00
parent 343eedb8ac
commit 79949ff80f

View file

@ -27,8 +27,8 @@ class EventStream:
"""
while True:
if self.queue or (len(self.queue) > 0):
yield self.queue.popleft()
if self.queue:
return self.queue.popleft()
time.sleep(0.1)