mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-24 19:25:33 +01:00
E-book viewer: Fix bug that caused the default language for hyphenation to be ignored for books that do not specify a language
This commit is contained in:
parent
b080c44535
commit
449f7a3df6
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ def __call__(self, evaljs, lang, default_lang):
|
|||
evaljs(src)
|
||||
|
||||
if not lang:
|
||||
lang = 'en'
|
||||
lang = default_lang or 'en'
|
||||
|
||||
def lang_name(l):
|
||||
l = l.lower()
|
||||
|
|
|
|||
Loading…
Reference in a new issue