From 049151540a417af2704d6e4145392b733c8bd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Thu, 19 Aug 2010 13:06:53 +0000 Subject: [PATCH] Bugfix (template format clt) --- pym/cl_template.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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=[]): """Считаем количество шаблонов"""