mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6229 (Failed to read metadata and Unhandled exception with versions 0.7.8/0.7.9)
This commit is contained in:
parent
e41fe501dd
commit
d2f9ec489f
@ -42,6 +42,8 @@ def get_lang():
|
||||
lang = match.group()
|
||||
if lang == 'zh':
|
||||
lang = 'zh_CN'
|
||||
if lang is None:
|
||||
lang = 'en'
|
||||
return lang
|
||||
|
||||
def messages_path(lang):
|
||||
|
Loading…
x
Reference in New Issue
Block a user