mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix infinite recursion for unknown translations
This commit is contained in:
parent
04ead04e8a
commit
dd7e53dece
@ -132,7 +132,6 @@ def set_translators():
|
|||||||
if iso639 is not None:
|
if iso639 is not None:
|
||||||
iso639 = _lang_trans = GNUTranslations(iso639)
|
iso639 = _lang_trans = GNUTranslations(iso639)
|
||||||
t.add_fallback(iso639)
|
t.add_fallback(iso639)
|
||||||
iso639.add_fallback(t)
|
|
||||||
|
|
||||||
if t is None:
|
if t is None:
|
||||||
t = NullTranslations()
|
t = NullTranslations()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user