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,