|
|
|
@ -4233,6 +4233,9 @@ re.M|re.S)
|
|
|
|
|
templateDirFile)
|
|
|
|
|
return ("", False, [])
|
|
|
|
|
|
|
|
|
|
if " env=" in textTemplate:
|
|
|
|
|
return ("", False, [])
|
|
|
|
|
|
|
|
|
|
# Заменяем переменные на их значения
|
|
|
|
|
textTemplate = self.applyVarsTemplate(textTemplate, templateDirFile)
|
|
|
|
|
|
|
|
|
@ -4878,6 +4881,8 @@ re.M|re.S)
|
|
|
|
|
self.closeTemplFile()
|
|
|
|
|
# Флаг копирования шаблона в конфигурационный файл
|
|
|
|
|
flagCopyTemplate = True
|
|
|
|
|
if " env=" in self.textTemplate.partition('\n')[0]:
|
|
|
|
|
return False
|
|
|
|
|
# Тип шаблона бинарный или текстовый
|
|
|
|
|
templateFileType = self.getTemplateType()
|
|
|
|
|
if templateFileType != "bin":
|
|
|
|
|