mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2026-03-20 13:08:55 +00:00
Fix Python3 bug in stylexml2css.py, fixes #232
This commit is contained in:
@@ -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)):
|
||||
|
||||
Reference in New Issue
Block a user