Skip to content
Snippets Groups Projects
Commit dd281614 authored by David Hrbáč's avatar David Hrbáč
Browse files

Sort in an case-insensitive way

parent 1238d38b
No related branches found
No related tags found
1 merge request!2Resolve "Nesprávné třídění modulů"
...@@ -56,7 +56,7 @@ if __name__ == "__main__": ...@@ -56,7 +56,7 @@ if __name__ == "__main__":
print "# Available Modules" print "# Available Modules"
for dir in sorted(subdirs): for dir in sorted(subdirs):
available_software = software_list(dir) available_software = software_list(dir, key=lambda s: s.lower())
print "\n## %s\n" % os.path.basename(dir).title() print "\n## %s\n" % os.path.basename(dir).title()
print "| Module | Description |" print "| Module | Description |"
print "| ------ | ----------- |" print "| ------ | ----------- |"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment