diff options
| author | jvoisin | 2016-01-03 19:28:00 +0100 |
|---|---|---|
| committer | jvoisin | 2016-01-03 20:06:19 +0100 |
| commit | 75fa39309ac06ea0189fe37f84bbd44d0f27c00e (patch) | |
| tree | f673ecec0caaa7ee3a6aadca60fcb0ae7132cb20 /libmat/mat.py | |
| parent | ac36b6c415f7e9868c54cc1622c242f9fea86673 (diff) | |
Fix the segfault when listing supported files
This should close https://labs.riseup.net/code/issues/10839
Diffstat (limited to '')
| -rw-r--r-- | libmat/mat.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libmat/mat.py b/libmat/mat.py index 6ac1dc7..f0539f8 100644 --- a/libmat/mat.py +++ b/libmat/mat.py | |||
| @@ -17,13 +17,7 @@ __author__ = 'jvoisin' | |||
| 17 | 17 | ||
| 18 | # Silence | 18 | # Silence |
| 19 | LOGGING_LEVEL = logging.ERROR | 19 | LOGGING_LEVEL = logging.ERROR |
| 20 | fname = '' | 20 | logging.basicConfig(filename='', level=LOGGING_LEVEL) |
| 21 | |||
| 22 | # Verbose | ||
| 23 | # LOGGING_LEVEL = logging.DEBUG | ||
| 24 | # logname = 'report.log' | ||
| 25 | |||
| 26 | logging.basicConfig(filename=fname, level=LOGGING_LEVEL) | ||
| 27 | 21 | ||
| 28 | import strippers # this is loaded here because we need LOGGING_LEVEL | 22 | import strippers # this is loaded here because we need LOGGING_LEVEL |
| 29 | 23 | ||
