From 011471d9f4e6dc2995d74c8611351246667163f9 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 7 Dec 2016 09:24:19 +0100 Subject: [PATCH] Change how ppt_parser imports olefile --- oletools/ppt_parser.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/oletools/ppt_parser.py b/oletools/ppt_parser.py index 2a8cb37..4f01b1a 100644 --- a/oletools/ppt_parser.py +++ b/oletools/ppt_parser.py @@ -40,12 +40,7 @@ import struct import traceback import os -try: - # absolute import when oletools is installed - import oletools.thirdparty.olefile as olefile -except: - # relative import otherwise - import thirdparty.olefile as olefile +import thirdparty.olefile as olefile import zlib -- libgit2 0.21.4