From 4dd915c12f3b5ca69cf0bb2697c10e3af22f84cd Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 21 Dec 2021 23:54:03 +0100 Subject: [PATCH] small fix in lsaercheck --- extensions/fablabchemnitz/laser_check/laser_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/laser_check/laser_check.py b/extensions/fablabchemnitz/laser_check/laser_check.py index 876bb659..d422c452 100644 --- a/extensions/fablabchemnitz/laser_check/laser_check.py +++ b/extensions/fablabchemnitz/laser_check/laser_check.py @@ -260,7 +260,7 @@ class LaserCheck(inkex.EffectExtension): layers.append(element) else: groups.append(element) - if element.style is not None: + if element.style is not None and element.style != "": #style may also be just empty (weird, but was validated on 21.12.2021) styles.append(element) if so.show_issues_only is False: inkex.utils.debug("{} groups in total".format(len(groups)))