Update stream.py

This commit is contained in:
Goldy
2024-07-16 09:19:58 +02:00
committed by GitHub
parent 9101505baf
commit b674979cc7
+1 -1
View File
@@ -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