|
|
|
@ -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 +\
|
|
|
|
|