summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmat22
-rw-r--r--tests/test_corrupted_files.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mat2 b/mat2
index e22512c..e970d98 100755
--- a/mat2
+++ b/mat2
@@ -186,7 +186,7 @@ def main() -> int:
186 args = arg_parser.parse_args() 186 args = arg_parser.parse_args()
187 187
188 if args.verbose: 188 if args.verbose:
189 logging.getLogger().setLevel(logging.DEBUG) 189 logging.getLogger(__name__).setLevel(logging.DEBUG)
190 190
191 if not args.files: 191 if not args.files:
192 if args.list: 192 if args.list:
diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py
index 2adf42e..639145c 100644
--- a/tests/test_corrupted_files.py
+++ b/tests/test_corrupted_files.py
@@ -14,7 +14,7 @@ from libmat2 import harmless, video, web, archive
14 14
15# No need to logging messages, should something go wrong, 15# No need to logging messages, should something go wrong,
16# the testsuite _will_ fail. 16# the testsuite _will_ fail.
17logger = logging.getLogger() 17logger = logging.getLogger(__name__)
18logger.setLevel(logging.FATAL) 18logger.setLevel(logging.FATAL)
19 19
20 20