Prod fix(-presets)

This commit is contained in:
Kiryl
2022-08-04 12:35:23 +03:00
parent 9959a04935
commit 2122fb82fa
4 changed files with 15 additions and 13 deletions

View File

@@ -30,7 +30,7 @@ def configure_file_logger(name: str, filename: str = "logs/converter.log", filem
return logger
def local_convert_book(book_type: [DocxBook, EpubBook], book_id, logger: logging.Logger, params: dict):
def local_convert_book(book_type: [DocxBook, EpubBook], book_id: int, logger: logging.Logger, params: dict):
logger.info(f"Start processing book-{book_id}.")
try:
json_file_path = "books/json/9781614382264.json"