1
0
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:
Ozzie Isaacs
2022-04-26 11:28:20 +02:00
parent 47414ada69
commit e7464f2694
27 changed files with 639 additions and 581 deletions

View File

@@ -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):