Browse Source

Bugfix

develop
Самоукин Алексей 12 years ago
parent
commit
1fd718688c
  1. 2
      pym/cl_template.py

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

Loading…
Cancel
Save