summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2024-02-10 20:16:30 +0100
committerGitHub <noreply@github.com>2024-02-10 20:16:30 +0100
commitd929336f08f08e0b8c6a054df2367d24af92dd11 (patch)
tree3fdfaba288e5abf9bbcab75c45a265d2ff1fcbe0 /lib/extensions
parent87d7fa387dfafabe77ffc5fd0fa6ca3494744d66 (diff)
Rejbasket/pyinstaller fix installer checks (#2718)
* netowrkx deps added in build * check for user inkscape config before installing * get os version in exception * update electron app location according to pyinstaller redesign * fixed broken libgeos syslinks * contents-directory added pyinstaller args fix broken linux and win versions * updated inkex * fix print_pdf --------- authored-by: rejbasket
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/print_pdf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py
index 4e667130..ddfdc3a3 100644
--- a/lib/extensions/print_pdf.py
+++ b/lib/extensions/print_pdf.py
@@ -231,7 +231,7 @@ class Print(InkstitchExtension):
# for all color blocks together.
layers = svg.findall("./g[@%s='layer']" % INKSCAPE_GROUPMODE)
- stitch_plan_layer = svg.find(".//*[@id='__inkstitch_stitch_plan__']")
+ stitch_plan_layer = svg.findone(".//*[@id='__inkstitch_stitch_plan__']")
# Make sure there is no leftover translation from stitch plan preview
stitch_plan_layer.pop('transform')