\r
OutputFileList = []\r
for Sect in Rule.SectionList:\r
- if Sect.SectionType == 'PE32':\r
+ if Sect.SectionType == BINARY_FILE_TYPE_PE32:\r
if Sect.FileName is not None:\r
GenSecInputFile = self.__ExtendMacro__(Sect.FileName)\r
OutputFileList.append(GenSecInputFile)\r