diff options
| author | jvoisin | 2013-04-12 22:09:39 +0200 |
|---|---|---|
| committer | jvoisin | 2013-04-12 22:09:39 +0200 |
| commit | 1e5ca09893284ae2f807ea4a00fbc79fba33e360 (patch) | |
| tree | 669633ab2f997b228aa42ceabb6758a0fccebb31 /MAT/mat.py | |
| parent | 552ec3a580f55732f79f18f771f06c88279e6771 (diff) | |
Strippers are now using logging instead of print
Diffstat (limited to 'MAT/mat.py')
| -rw-r--r-- | MAT/mat.py | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -13,7 +13,6 @@ import xml.sax | |||
| 13 | import hachoir_core.cmd_line | 13 | import hachoir_core.cmd_line |
| 14 | import hachoir_parser | 14 | import hachoir_parser |
| 15 | 15 | ||
| 16 | import strippers | ||
| 17 | 16 | ||
| 18 | __version__ = '0.3.4' | 17 | __version__ = '0.3.4' |
| 19 | __author__ = 'jvoisin' | 18 | __author__ = 'jvoisin' |
| @@ -30,6 +29,8 @@ LOGGING_LEVEL = logging.DEBUG | |||
| 30 | 29 | ||
| 31 | logging.basicConfig(filename=fname, level=LOGGING_LEVEL) | 30 | logging.basicConfig(filename=fname, level=LOGGING_LEVEL) |
| 32 | 31 | ||
| 32 | import strippers # this is loaded here because we need LOGGING_LEVEL | ||
| 33 | |||
| 33 | def get_logo(): | 34 | def get_logo(): |
| 34 | if os.path.isfile('./data/mat.png'): | 35 | if os.path.isfile('./data/mat.png'): |
| 35 | return './data/mat.png' | 36 | return './data/mat.png' |
