diff --git a/comet/api/stream.py b/comet/api/stream.py index a7cc4a0..9f1a3a0 100644 --- a/comet/api/stream.py +++ b/comet/api/stream.py @@ -300,7 +300,7 @@ async def stream_content(headers: dict): while True: chunk = await response.content.read( settings.PROXY_DEBRID_STREAM_BYTES_PER_CHUNK - ) # 10 MB chunks + ) if not chunk: break yield chunk