This commit is contained in:
2023-01-05 22:17:10 +01:00
parent 8109b467ec
commit f9d701ec3b

View File

@@ -138,7 +138,7 @@ async def cache_file_by_book_id(
try: try:
try: try:
async with lock: async with lock:
result = await cache_file(book, file_type, by_request) result = await cache_file(book, file_type)
if by_request: if by_request:
return result return result