diff --git a/oletools/xls_parser.py b/oletools/xls_parser.py index 5532ebd..f008281 100644 --- a/oletools/xls_parser.py +++ b/oletools/xls_parser.py @@ -65,6 +65,11 @@ if _parent_dir not in sys.path: from oletools.thirdparty import olefile +# === PYTHON 2+3 SUPPORT ====================================================== + +if sys.version_info[0] >= 3: + unichr = chr + ############################################################################### # Helpers ###############################################################################