forked from openlp/openlp
More style fixes
This commit is contained in:
parent
d9d740ad8b
commit
bf28102401
@ -182,7 +182,7 @@ languages = sorted([
|
||||
Language(137, translate('common.languages', 'Yoruba', 'Language code: yo'), 'yo'),
|
||||
Language(138, translate('common.languages', 'Zhuang', 'Language code: za'), 'za'),
|
||||
Language(139, translate('common.languages', 'Zulu', 'Language code: zu'), 'zu')
|
||||
], key=lambda language: language.name)
|
||||
], key=lambda language: language.name)
|
||||
|
||||
|
||||
def get_language(name):
|
||||
@ -198,4 +198,4 @@ def get_language(name):
|
||||
for language in languages:
|
||||
if language.name == name_title or language.code == name_lower:
|
||||
return language
|
||||
return None
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user