Commit 79e2d539 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

Fix bug when retrieving normalized file extension

parent 4c3e04bc
......@@ -26,7 +26,7 @@ def _normalize_file_extension(original_file_name):
ext = path.splitext(original_file_name)[1]
return file_ext_mapping.get(k=ext.lower(), default=ext.lower())
return file_ext_mapping.get(ext.lower(), ext.lower())
def _create_logger(name, logfile):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment