1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-16 06:44:54 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)