Browse Source

Bugfix

develop
Самоукин Алексей 11 years ago
parent
commit
4dd899f82d
  1. 3
      pym/cl_template.py

3
pym/cl_template.py

@ -4342,7 +4342,8 @@ re.M|re.S)
if objHeadNew.comment:
objHeadOld = fileHeader(nameFileConfig, self.textConfig,
objHeadNew.comment)
elif typeAppendTemplate in ("before", "after"):
elif objHeadNew.fileType and\
objHeadNew.typeAppend in ("before", "after"):
configFileType = self.getFileType(nameFileConfig)
objHeadOld = fileHeader(nameFileConfig, self.textConfig,
fileType=configFileType)

Loading…
Cancel
Save