Commit 432dde7753d41b319d8a83eacbd5f50412b99c5d

Authored by decalage2
1 parent 8159c1b9

plugin_biff: fixed #428 for Python 3

oletools/thirdparty/oledump/plugin_biff.py
... ... @@ -987,7 +987,7 @@ def ParseExpression(expression):
987 987 else:
988 988 result += '*UNKNOWN TOKEN* '
989 989 break
990   - if expression == '':
  990 + if len(expression) == 0:
991 991 return result
992 992 else:
993 993 # 0x006E: 'EXEC', 0x0095: 'REGISTER'
... ...