forked from LiveCarta/BookConverter
fix errors
This commit is contained in:
@@ -6,8 +6,8 @@ from subprocess import PIPE
|
||||
from threading import Event
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
from html_docx_preprocessor import HTMLDocxPreprocessor
|
||||
from libra_html2json_converter import LibraHTML2JSONConverter
|
||||
from src.docx_converter.html_docx_preprocessor import HTMLDocxPreprocessor
|
||||
from src.docx_converter.libra_html2json_converter import LibraHTML2JSONConverter
|
||||
|
||||
from src.book_solver import BookSolver
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ def convert_indents(value):
|
||||
|
||||
elif has_style_attrs.group(4):
|
||||
value = value.replace(has_style_attrs.group(4),
|
||||
str(abs(int("".join(filter(str.isdigit, str(has_style_attrs.group(5))))))) + 'px')
|
||||
str(abs(int("".join(filter(str.isdigit, str(has_style_attrs.group(4))))))) + 'px')
|
||||
return value
|
||||
"""
|
||||
LIVECARTA_STYLE_ATTRS = { css property: value }
|
||||
|
||||
Reference in New Issue
Block a user