converter fix: pt to px

This commit is contained in:
shirshasa
2021-03-22 10:35:19 +03:00
parent 718f81b124
commit f7f660c969

View File

@@ -49,7 +49,7 @@ class HTMLPreprocessor:
@classmethod
def convert_pt_to_px(cls, value):
value = int(value)
value = float(value)
if value == LawCartaConfig.WORD_DEFAULT_FONT_SIZE:
return LawCartaConfig.LAWCARTA_DEFAULT_FONT_SIZE
else: