diff --git a/pym/cl_template.py b/pym/cl_template.py index cd36865..ad9f412 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -4665,8 +4665,10 @@ class templateClt(scanDirectoryClt, template): if filesApl: self.filesApply += filesApl # Настоящее имя конфигурационного файла - nameFileConfig = filesApl[0] - return nameFileConfig + nameFileConfig = filesApl[0] + return nameFileConfig + else: + return True def countsNumberTemplates(self, dirsTemplates=[]): """Считаем количество шаблонов"""