Skip to content

Commit

Permalink
#56 fix missing "
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Jun 29, 2017
1 parent eeac8d3 commit cb1a1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/File_Info/fileinfo_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ def summary(self, fullReport):
taxonomies.append(self.build_taxonomy(level, namespace, predicate, pereport['filetype']))
elif fullReport['Mimetype'] in ['application/pdf']:
pdfreport = self.PDF_Summary(fullReport)
value = pdfreport['filetype']
value = "\"{}\"".format(pdfreport['filetype'])
if pdfreport['suspicious']:
level = 'suspicious'
taxonomies.append(self.build_taxonomy(level, namespace, predicate, value))
elif (fullReport['filetype'] in ['DOC','DOCM','DOCX',
'XLS', 'XLSM', 'XLSX',
'PPT', "PPTM", 'PPTX']):
msreport = self.MSOffice_Summary(fullReport)
value = msreport['filetype']
value = "\"{}\"".format(msreport['filetype'])
if msreport['suspicious']:
level = 'suspicious'
taxonomies.append(self.build_taxonomy(level, namespace, predicate, value))
Expand Down

0 comments on commit cb1a1cd

Please sign in to comment.