1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-25 14:14:03 +00:00

style: add missing positional argument

This commit is contained in:
Blondel MONDESIR
2023-06-29 16:41:44 -04:00
committed by GitHub
parent 856f9e622e
commit f18477e02c

View File

@@ -1555,7 +1555,7 @@ def read_book(book_id, book_format):
if book_format.lower() == fileExt:
entries = calibre_db.get_filtered_book(book_id)
log.debug("Start video watching for %d", book_id)
return serve_book.__closure__[0].cell_contents(book_id, book_format.lower())
return serve_book.__closure__[0].cell_contents(book_id, book_format.lower(), anyname="")
for fileExt in ["cbr", "cbt", "cbz"]:
if book_format.lower() == fileExt:
all_name = str(book_id)