forked from LiveCarta/BookConverter
Change paths to books
This commit is contained in:
@@ -33,7 +33,7 @@ def configure_file_logger(name, filename="logs/converter.log", filemode="w+",
|
||||
def local_convert_book(book_type: [DocxBook, EpubBook], book_id, logger, params: dict):
|
||||
logger.info(f"Start processing book-{book_id}.")
|
||||
try:
|
||||
json_file_path = "json/9781614382264.json"
|
||||
json_file_path = "books/json/9781614382264.json"
|
||||
book = book_type(book_id=book_id, main_logger=logger, **params)
|
||||
book.conversion_local(json_file_path)
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user