mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-08 03:03:00 +00:00
Refactored web.py to shrink size of file
This commit is contained in:
@@ -49,7 +49,7 @@ except ImportError:
|
||||
|
||||
|
||||
def get_language_names(locale):
|
||||
return _LANGUAGE_NAMES.get(locale)
|
||||
return _LANGUAGE_NAMES.get(str(locale))
|
||||
|
||||
|
||||
def get_language_name(locale, lang_code):
|
||||
|
||||
Reference in New Issue
Block a user