Skip to content

Commit

Permalink
Update stream.py
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy authored Jul 16, 2024
1 parent 9101505 commit b674979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comet/api/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b674979

Please sign in to comment.