summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/extensions/troubleshoot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/extensions/troubleshoot.py b/lib/extensions/troubleshoot.py
index c69953eb..c3be31b9 100644
--- a/lib/extensions/troubleshoot.py
+++ b/lib/extensions/troubleshoot.py
@@ -101,7 +101,8 @@ class Troubleshoot(InkstitchExtension):
text.append(tspan)
def _get_or_create_group(self, layer, label):
- group = layer.xpath(f".//*[@inkscape:label='{label}']")
+
+ group = layer.xpath(f'.//*[@inkscape:label="{label}"]')
if not group:
group = inkex.Group()