Fix Python3 bug in stylexml2css.py, fixes #232

This commit is contained in:
NoDRM
2022-12-23 10:44:45 +01:00
parent 901a6c091d
commit a30405bebf
2 changed files with 4 additions and 3 deletions

View File

@@ -181,7 +181,7 @@ class DocParser(object):
print("Scale not defined!")
scale = 1.0
if val == "":
if not val:
val = 0
if not ((attr == b'hang') and (int(val) == 0)):