summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--peekaboo/toolbox/ole.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/peekaboo/toolbox/ole.py b/peekaboo/toolbox/ole.py
index b27df05..4861885 100644
--- a/peekaboo/toolbox/ole.py
+++ b/peekaboo/toolbox/ole.py
@@ -62,7 +62,7 @@ class Oletools(object):
return report
def __parser_has_vba_macros(vbaparser):
- return vbaparser.detect_vba_macros() and len(vbaparser.extract_all_macros() != 0
+ return vbaparser.detect_vba_macros() and len(vbaparser.extract_all_macros()) != 0
class OletoolsReport(object):