# HG changeset patch # User Edouard Tisserant # Date 1710488912 -3600 # Node ID 46ef8be69e8c64b918d7ada1ba60f3ef6595f0a6 # Parent 050f227a2848b48cccc7e795c836282d0bc0ff01 SVGHMI: Fix thumbnail generation. diff -r 050f227a2848 -r 46ef8be69e8c 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"