Commit 65449b94e52c10c773a9e6a8f07e654097faae9e
1 parent
cd61e4ff
olevba: fixed previous fix
Showing
1 changed file
with
1 additions
and
1 deletions
oletools/olevba.py
| ... | ... | @@ -269,7 +269,7 @@ _thismodule_dir = os.path.normpath(os.path.abspath(os.path.dirname(__file__))) |
| 269 | 269 | _parent_dir = os.path.normpath(os.path.join(_thismodule_dir, '..')) |
| 270 | 270 | # print('_parent_dir = %r' % _thirdparty_dir) |
| 271 | 271 | if not _parent_dir in sys.path: |
| 272 | - pass #sys.path.insert(0, _parent_dir) | |
| 272 | + sys.path.insert(0, _parent_dir) | |
| 273 | 273 | from oletools.thirdparty import olefile |
| 274 | 274 | from oletools.thirdparty.prettytable import prettytable |
| 275 | 275 | from oletools.thirdparty.xglob import xglob, PathNotFoundException | ... | ... |