diff --git a/pym/cl_template.py b/pym/cl_template.py index df4dfb9..50fc1d7 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -2824,7 +2824,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): value = str(self.objVar.Get(nameVar)) except: self.printErrTemplate() - print _("not found template variable %s")%str(strNum) + print _("not found template variable %s")%str(nameVar) cl_overriding.exit(1) replace = value.replace(old,new) textTemplateTmp = textTemplateTmp[:resS.start()] + replace +\