Skip to content
Snippets Groups Projects
Commit d701ff61 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Ignore case when ordering our file format descriptions.

parent 39c9831c
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -163,6 +163,6 @@ class ComparatorManager: ...@@ -163,6 +163,6 @@ class ComparatorManager:
except AttributeError: except AttributeError:
pass pass
xs = list(sorted(set(gen_descriptions()))) xs = list(sorted(set(gen_descriptions()), key=str.upper))
return "{} and {}.\n".format(", ".join(xs[:-1]), xs[-1]) return "{} and {}.\n".format(", ".join(xs[:-1]), xs[-1])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment