Skip to content

Commit

Permalink
Fix an issue in OleID check_excel()
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki authored and c-rosenberg committed Jun 22, 2021
1 parent 72e3d17 commit b6651f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oletools/oleid.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ def check_excel(self):
if macro_ind:
macro_ind.value = True
else:
self.indicators.append('vba_macros', True,
name='VBA Macros')
macros = Indicator('vba_macros', True, name='VBA Macros')
self.indicators.append(macros)
return excel

def check_powerpoint(self):
Expand Down

0 comments on commit b6651f9

Please sign in to comment.