forked from LiveCarta/BookConverter
Change path to save html files
This commit is contained in:
@@ -45,7 +45,7 @@ class DocxBook(BookSolver):
|
|||||||
raise error
|
raise error
|
||||||
|
|
||||||
folder_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
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)
|
pathlib.Path(out_dir_path).mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
is_book_converted = False
|
is_book_converted = False
|
||||||
|
|||||||
Reference in New Issue
Block a user