diff --git a/oletools/thirdparty/oledump/plugin_biff.py b/oletools/thirdparty/oledump/plugin_biff.py index 5562049..e32c541 100644 --- a/oletools/thirdparty/oledump/plugin_biff.py +++ b/oletools/thirdparty/oledump/plugin_biff.py @@ -987,7 +987,7 @@ def ParseExpression(expression): else: result += '*UNKNOWN TOKEN* ' break - if expression == '': + if len(expression) == 0: return result else: # 0x006E: 'EXEC', 0x0095: 'REGISTER'