Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #21 from TheRenegadeCoder/alphabetical-languages
Browse files Browse the repository at this point in the history
Fixed Language List Alphabetization
  • Loading branch information
jrg94 authored Jan 2, 2019
2 parents a8627de + 6c01624 commit c8a69ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generate_wiki/generate_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def compute_total_snippets(self):

def get_languages_by_letter(self, letter):
language_list = [language for language in self.languages if language.name.startswith(letter)]
return language_list
return sorted(language_list, key = lambda s: s.casefold())


class Language:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="generate_wiki",
version="1.0.3",
version="1.0.4",
author="The Renegade Coder",
author_email="[email protected]",
description="A wiki generation package for the Sample Programs repo",
Expand Down

0 comments on commit c8a69ff

Please sign in to comment.