mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 06:46:22 +01:00
...
This commit is contained in:
parent
5c48090212
commit
da875a3d15
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ def get_system_locale():
|
|||
from calibre.constants import iswindows
|
||||
lang = None
|
||||
if iswindows:
|
||||
from calibre import get_windows_user_locale_name
|
||||
from calibre.constants import get_windows_user_locale_name
|
||||
try:
|
||||
lang = get_windows_user_locale_name()
|
||||
lang = lang.strip()
|
||||
|
|
|
|||
Loading…
Reference in a new issue