summaryrefslogtreecommitdiff
path: root/libmat
diff options
context:
space:
mode:
authorjvoisin2016-01-03 19:28:00 +0100
committerjvoisin2016-01-03 20:06:19 +0100
commit75fa39309ac06ea0189fe37f84bbd44d0f27c00e (patch)
treef673ecec0caaa7ee3a6aadca60fcb0ae7132cb20 /libmat
parentac36b6c415f7e9868c54cc1622c242f9fea86673 (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.py8
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
19LOGGING_LEVEL = logging.ERROR 19LOGGING_LEVEL = logging.ERROR
20fname = '' 20logging.basicConfig(filename='', level=LOGGING_LEVEL)
21
22# Verbose
23# LOGGING_LEVEL = logging.DEBUG
24# logname = 'report.log'
25
26logging.basicConfig(filename=fname, level=LOGGING_LEVEL)
27 21
28import strippers # this is loaded here because we need LOGGING_LEVEL 22import strippers # this is loaded here because we need LOGGING_LEVEL
29 23