mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
fix: a
This commit is contained in:
+6
-2
@@ -357,10 +357,14 @@ async def stream(request: Request, b64config: str, type: str, id: str):
|
||||
for i in range(0, len(indexed_torrents), chunk_size)
|
||||
]
|
||||
|
||||
remove_adult_content = settings.REMOVE_ADULT_CONTENT and config["removeTrash"]
|
||||
remove_adult_content = (
|
||||
settings.REMOVE_ADULT_CONTENT and config["removeTrash"]
|
||||
)
|
||||
tasks = []
|
||||
for chunk in chunks:
|
||||
tasks.append(filter(chunk, name, year, year_end, aliases, remove_adult_content))
|
||||
tasks.append(
|
||||
filter(chunk, name, year, year_end, aliases, remove_adult_content)
|
||||
)
|
||||
|
||||
filtered_torrents = await asyncio.gather(*tasks)
|
||||
index_less = 0
|
||||
|
||||
Reference in New Issue
Block a user