From a0317e1d67a848edd6a72b12351ff00a5c711517 Mon Sep 17 00:00:00 2001 From: idziubenko Date: Mon, 6 Dec 2021 10:48:03 +0300 Subject: [PATCH] FIX: svg templates now work correctly --- pym/calculate/lib/cl_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/calculate/lib/cl_template.py b/pym/calculate/lib/cl_template.py index 44ac7ac..2e6b94a 100644 --- a/pym/calculate/lib/cl_template.py +++ b/pym/calculate/lib/cl_template.py @@ -5512,7 +5512,7 @@ gettext -d cl_template "$*" self.setError(_("Failed to open the template") + _(": ") + self.nameFileTemplate) return [], False - self.textTemplate, ___ = try_decode_utf8(self.F_TEMPL.read()) + self.textTemplate = self.F_TEMPL.read() self.closeTemplFile() objHeadNew = fileHeader(nameFileTemplate, self.textTemplate, False, templateFileType, objVar=self.objVar,