Commit 74b6c1cebd6044226ca57b1031ffe8e62d0105e2
1 parent
6e4d05b5
ooxml: Fix logger in test() function
Showing
1 changed file
with
1 additions
and
1 deletions
oletools/ooxml.py
| @@ -646,7 +646,7 @@ def test(): | @@ -646,7 +646,7 @@ def test(): | ||
| 646 | 646 | ||
| 647 | see module doc for more info | 647 | see module doc for more info |
| 648 | """ | 648 | """ |
| 649 | - log_helper.enable_logging(False, logger.DEBUG) | 649 | + log_helper.enable_logging(False, 'debug') |
| 650 | if len(sys.argv) != 2: | 650 | if len(sys.argv) != 2: |
| 651 | print(u'To test this code, give me a single file as arg') | 651 | print(u'To test this code, give me a single file as arg') |
| 652 | return 2 | 652 | return 2 |