From fbbad0a2eb0ab3000045217187c68245030f465f Mon Sep 17 00:00:00 2001 From: decalage2 Date: Fri, 14 Dec 2018 14:37:29 +0100 Subject: [PATCH] olevba: use new codepages module --- oletools/olevba.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index 6792353..319e9bc 100644 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -313,6 +313,7 @@ from oletools import oleform from oletools import rtfobj from oletools import oleid from oletools.common.errors import FileIsEncryptedError +from oletools.common import codepages # monkeypatch email to fix issue #32: # allow header lines without ":" @@ -1413,17 +1414,9 @@ class VBA_Project(object): projectcodepage_size = struct.unpack("