mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
7a53b7dd61
commit
d5099a01f6
@ -311,6 +311,8 @@ def get_windows_user_locale_name():
|
|||||||
number_formats = None
|
number_formats = None
|
||||||
|
|
||||||
def get_windows_number_formats():
|
def get_windows_number_formats():
|
||||||
|
# This can be changed to use localeconv() once we switch to Visual Studio
|
||||||
|
# 2015 as localeconv() in that version has unicode variants for all strings.
|
||||||
global number_formats
|
global number_formats
|
||||||
if number_formats is None:
|
if number_formats is None:
|
||||||
import ctypes
|
import ctypes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user