mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e09a6c7e63
commit
7ac78e7ab1
@ -72,7 +72,7 @@ if not _run_once:
|
|||||||
import string
|
import string
|
||||||
string
|
string
|
||||||
try:
|
try:
|
||||||
locale.setlocale(locale.LC_ALL, '')
|
locale.setlocale(locale.LC_ALL, '') # set the locale to the user's default locale
|
||||||
except:
|
except:
|
||||||
dl = locale.getdefaultlocale()
|
dl = locale.getdefaultlocale()
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user