equal
deleted
inserted
replaced
466 def GenThumbnail(self, svgpath, thumbpath): |
466 def GenThumbnail(self, svgpath, thumbpath): |
467 inkpath = get_inkscape_path() |
467 inkpath = get_inkscape_path() |
468 if inkpath is None: |
468 if inkpath is None: |
469 self.msg = _("Inkscape is not installed.") |
469 self.msg = _("Inkscape is not installed.") |
470 return False |
470 return False |
|
471 inkpath = inkpath.decode() |
471 |
472 |
472 export_opt = "-o" if get_inkscape_version()[0] > 0 else "-e" |
473 export_opt = "-o" if get_inkscape_version()[0] > 0 else "-e" |
473 |
474 |
474 # TODO: spawn a thread, to decouple thumbnail gen |
475 # TODO: spawn a thread, to decouple thumbnail gen |
475 status, result, _err_result = ProcessLogger( |
476 status, result, _err_result = ProcessLogger( |