mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: direct torrent results
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ async def stream(
|
||||
)
|
||||
else:
|
||||
the_stream["infoHash"] = hash
|
||||
index = data["index"]
|
||||
index = str(data["index"])
|
||||
the_stream["fileIdx"] = (
|
||||
1 if "|" in index else int(index)
|
||||
) # 1 because for Premiumize it's impossible to get the file index
|
||||
|
||||
Reference in New Issue
Block a user