forked from LiveCarta/BookConverter
rewrite imports
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import logging
|
||||
import os
|
||||
import logging
|
||||
import pathlib
|
||||
import subprocess
|
||||
from subprocess import PIPE
|
||||
from threading import Event
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
from src.docx_converter.html_docx_preprocessor import HTMLDocxPreprocessor
|
||||
from src.docx_converter.libra_html2json_converter import LibraHTML2JSONConverter
|
||||
|
||||
from src.book_solver import BookSolver
|
||||
|
||||
|
||||
@@ -155,4 +154,4 @@ if __name__ == "__main__":
|
||||
out_path = pathlib.Path(os.path.join(folder, 'json/ch13.json'))
|
||||
|
||||
book = DocxBook(html_path=file)
|
||||
book.convert_from_html()
|
||||
book.convert_from_html()
|
||||
@@ -1,9 +1,9 @@
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import re
|
||||
from shutil import copyfile
|
||||
import logging
|
||||
import pathlib
|
||||
from typing import List
|
||||
from shutil import copyfile
|
||||
|
||||
from bs4 import BeautifulSoup, NavigableString, Tag
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import logging
|
||||
import re
|
||||
import logging
|
||||
from copy import copy
|
||||
|
||||
from src.livecarta_config import LiveCartaConfig
|
||||
|
||||
Reference in New Issue
Block a user