SVGHMI: Fix thumbnail generation.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 15 Mar 2024 08:48:32 +0100
changeset 3913 46ef8be69e8c
parent 3912 050f227a2848
child 3914 b2aa31f3a0ce
SVGHMI: Fix thumbnail generation.
svghmi/ui.py
--- a/svghmi/ui.py	Fri Mar 15 08:24:38 2024 +0100
+++ b/svghmi/ui.py	Fri Mar 15 08:48:32 2024 +0100
@@ -468,6 +468,7 @@
         if inkpath is None:
             self.msg = _("Inkscape is not installed.")
             return False
+        inkpath = inkpath.decode()
 
         export_opt = "-o" if get_inkscape_version()[0] > 0 else "-e"