Change path to save html files

This commit is contained in:
Kiryl
2022-03-28 13:24:13 +03:00
parent 3216ba2b93
commit 2798a93def

View File

@@ -45,7 +45,7 @@ class DocxBook(BookSolver):
raise error
folder_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
out_dir_path = os.path.join(folder_path, f'html/{self.book_id}')
out_dir_path = os.path.join(folder_path, f'../html/{self.book_id}')
pathlib.Path(out_dir_path).mkdir(parents=True, exist_ok=True)
is_book_converted = False