Commit 66bc3f346469c1251addf8a15f4f17545c2b0605

Authored by Christian Herdtweck
1 parent aca2c7b9

Make msodde.py python3-compatible

Tested with Python 3.3.2
Showing 1 changed file with 6 additions and 0 deletions
oletools/msodde.py
... ... @@ -75,6 +75,12 @@ import os
75 75 import sys
76 76 import json
77 77  
  78 +from oletools.thirdparty import olefile
  79 +
  80 +# === PYTHON 2+3 SUPPORT ======================================================
  81 +
  82 +if sys.version_info[0] >= 3:
  83 + unichr = chr
78 84  
79 85 # === CONSTANTS ==============================================================
80 86  
... ...