diff --git a/pym/cl_template.py b/pym/cl_template.py index 498ea90..3647369 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -2888,7 +2888,7 @@ or 'lower' or 'capitalize'")) self.currDictIni.update(self.prevDictIni) self.timeIni = self.getTimeFile(self.fileConfigIni) if nameLocVar in self.currDictIni.keys(): - replace = self.currDictIni[nameLocVar] + replace = self.currDictIni[nameLocVar].encode("UTF-8") elif len(terms) == 2: if self.timeIni != curTime: # читаем переменные из файла