forked from LiveCarta/BookConverter
Docx refactoring
This commit is contained in:
@@ -66,7 +66,6 @@ class Docx2LibreHTML:
|
||||
raise error
|
||||
|
||||
self.logger_object.log(f"File - {self.file_path}.")
|
||||
print(f"{self.file_path}")
|
||||
self.logger_object.log("Beginning of conversion from .docx to .html.")
|
||||
|
||||
check_file_exists(
|
||||
@@ -74,7 +73,7 @@ class Docx2LibreHTML:
|
||||
|
||||
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"../books/html/{self.book_id}")
|
||||
pathlib.Path(out_dir_path).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user