mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
5c48090212
commit
da875a3d15
@ -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…
x
Reference in New Issue
Block a user