LAW-6736|Fix duplicate parent-child tags in attr condition

This commit is contained in:
Kibzik
2023-05-23 14:18:36 +03:00
parent d81fc18403
commit 0481f5e98f
5 changed files with 21 additions and 16 deletions

View File

@@ -18,7 +18,7 @@ from src.epub_converter.epub_solver import EpubBook
def local_convert_book(book_type: [DocxBook, EpubBook], book_id: int, main_logger: logging.Logger, params: dict):
main_logger.info(f"Start processing book-{book_id}.")
try:
json_file_path = "books/json/9781264269044.json"
json_file_path = "books/json/9781839211973.json"
book = book_type(book_id=book_id, main_logger=main_logger, **params)
book.conversion_local(json_file_path)
except Exception as exc: