Commit 96f2cffdce1858d059447cb5e7e457b6eaf26bfb
1 parent
451f4bfa
olevba: slight fix to avoid a test to fail by mistake
Showing
2 changed files
with
2 additions
and
2 deletions
oletools/olevba.py
| ... | ... | @@ -3443,9 +3443,9 @@ class VBA_Parser(object): |
| 3443 | 3443 | try: |
| 3444 | 3444 | from pcodedmp import pcodedmp |
| 3445 | 3445 | except Exception: |
| 3446 | - # This may happen with Pypy, because pcodedmp import win_unicode_console... | |
| 3446 | + # This may happen with Pypy, because pcodedmp imports win_unicode_console... | |
| 3447 | 3447 | # TODO: this is a workaround, we just ignore P-code |
| 3448 | - log.exception('Error when importing pcodedmp') | |
| 3448 | + log.exception('Exception when importing pcodedmp') | |
| 3449 | 3449 | self.pcodedmp_output = '' |
| 3450 | 3450 | return '' |
| 3451 | 3451 | # logging is disabled after importing pcodedmp, need to re-enable it | ... | ... |
tests/test-data/encrypted/autostart-encrypt-standardpassword.xls
100755 → 100644
No preview for this file type