Commit f5ddf80ea596a6543396199baa8f03bc85fee8a0
Committed by
GitHub
Merge pull request #585 from ninoseki/fix-issue-in-check-excel
Fix an issue in OleID check_excel()
Showing
1 changed file
with
2 additions
and
2 deletions
oletools/oleid.py
| ... | ... | @@ -342,8 +342,8 @@ class OleID(object): |
| 342 | 342 | if macro_ind: |
| 343 | 343 | macro_ind.value = True |
| 344 | 344 | else: |
| 345 | - self.indicators.append('vba_macros', True, | |
| 346 | - name='VBA Macros') | |
| 345 | + macros = Indicator('vba_macros', True, name='VBA Macros') | |
| 346 | + self.indicators.append(macros) | |
| 347 | 347 | return excel |
| 348 | 348 | |
| 349 | 349 | def check_powerpoint(self): | ... | ... |