[156] fix styles

pull/1355/head
meisnate12 2 years ago
parent de6ba1dd1e
commit b276101f53

@ -1 +1 @@
1.18.3-develop155 1.18.3-develop156

@ -677,9 +677,8 @@ class MetadataFile(DataFile):
raise Failed("Image Section Error: Section Data styles attribute is empty") raise Failed("Image Section Error: Section Data styles attribute is empty")
default_style = None default_style = None
for sk, sv in styles.items(): for sk, sv in styles.items():
if sv: default_style = sk
default_style = sk break
break
if not default_style: if not default_style:
raise Failed(f"Image Section Error: No styles found for section: {section_key}") raise Failed(f"Image Section Error: No styles found for section: {section_key}")
use_key = None use_key = None

Loading…
Cancel
Save