Skip to content

Commit 8a89f23

Browse files
AddisonSchillerfelliott
authored andcommitted
Fix tabular renderer ext matching error
If a file with an extension that had casing that was not all lowercase was passed to the tabular renderer, it would not match it with the proper function.
1 parent 298f1cb commit 8a89f23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfr/extensions/tabular/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _populate_data(self, fp, ext):
6363
:param ext: file extension
6464
:return: tuple of column headers and row data
6565
"""
66-
function_preference = settings.LIBS.get(ext)
66+
function_preference = settings.LIBS.get(ext.lower())
6767

6868
for function in function_preference:
6969
try:

0 commit comments

Comments
 (0)