1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 09:37:25 +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: 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)