Add path to backend preset

This commit is contained in:
Kiryl
2022-07-28 11:52:47 +03:00
parent c19f76bc90
commit 009b755a31
3 changed files with 17 additions and 20 deletions

View File

@@ -638,7 +638,7 @@ if __name__ == "__main__":
name="epub", book_id=epub_file_path.split("/")[-1])
css_processor = CSSPreprocessor()
html_processor = HtmlEpubPreprocessor("../../presets/presets.json", logger=logger_object)
html_processor = HtmlEpubPreprocessor(logger=logger_object)
json_converter = EpubConverter(epub_file_path, logger=logger_object,
css_processor=css_processor, html_processor=html_processor)