From b674979cc72fd8b32948ba2f4ac5c1a41ea8c8d4 Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:19:58 +0200 Subject: [PATCH] Update stream.py --- comet/api/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/api/stream.py b/comet/api/stream.py index 653851f..829e4e0 100644 --- a/comet/api/stream.py +++ b/comet/api/stream.py @@ -215,7 +215,7 @@ async def stream(request: Request, b64config: str, type: str, id: str): index_less = 0 for hash in torrent_hashes: if hash[1] is None: - del torrents[hash[0]] + del torrents[hash[0] - index_less] index_less += 1 continue