Merge pull request #130 from Teqniksoft/refactoring

Refactoring
This commit is contained in:
gregory-p
2021-03-22 10:53:46 +03:00
committed by GitHub

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: