Add LOCALE static to Configuration
This commit is contained in:
parent
02453ce3c0
commit
262eb5200d
|
@ -31,6 +31,7 @@ import inspect
|
||||||
import string
|
import string
|
||||||
import traceback
|
import traceback
|
||||||
import shutil
|
import shutil
|
||||||
|
import locale
|
||||||
import xml.dom.minidom
|
import xml.dom.minidom
|
||||||
from xml.dom.minidom import Node
|
from xml.dom.minidom import Node
|
||||||
|
|
||||||
|
@ -126,6 +127,7 @@ DATABASE_TYPES = (
|
||||||
)
|
)
|
||||||
|
|
||||||
NEWIMPORT = True
|
NEWIMPORT = True
|
||||||
|
LOCALE_ENCODING = locale.getdefaultlocale()[1]
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
def string_to_bool(string, default=True):
|
def string_to_bool(string, default=True):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user