Commit 76bd086d5ff1f61d8d126659922fea235e74a2b2
Committed by
GitHub
1 parent
e2d05a8e
Fix always enabled logging in PptParser.
When using VBA_Parser from olevba3.py, ppt_parser logging is always enabled. This is similar to issue #154, although enable_logging() method is already implemented and ppt_parser logging is handled there, so just remove enable_logging from VBA_Parser.open_ppt().
Showing
1 changed file
with
0 additions
and
1 deletions
oletools/olevba3.py
| ... | ... | @@ -2584,7 +2584,6 @@ class VBA_Parser(object): |
| 2584 | 2584 | """ |
| 2585 | 2585 | |
| 2586 | 2586 | log.info('Check whether OLE file is PPT') |
| 2587 | - ppt_parser.enable_logging() | |
| 2588 | 2587 | try: |
| 2589 | 2588 | ppt = ppt_parser.PptParser(self.ole_file, fast_fail=True) |
| 2590 | 2589 | for vba_data in ppt.iter_vba_data(): | ... | ... |