fix errors

This commit is contained in:
Kiryl
2021-09-30 15:03:04 +03:00
parent cc977a7167
commit 42d356c728
2 changed files with 3 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ from subprocess import PIPE
from threading import Event from threading import Event
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
from html_docx_preprocessor import HTMLDocxPreprocessor from src.docx_converter.html_docx_preprocessor import HTMLDocxPreprocessor
from libra_html2json_converter import LibraHTML2JSONConverter from src.docx_converter.libra_html2json_converter import LibraHTML2JSONConverter
from src.book_solver import BookSolver from src.book_solver import BookSolver

View File

@@ -73,7 +73,7 @@ def convert_indents(value):
elif has_style_attrs.group(4): elif has_style_attrs.group(4):
value = value.replace(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 return value
""" """
LIVECARTA_STYLE_ATTRS = { css property: value } LIVECARTA_STYLE_ATTRS = { css property: value }