setting locale to default, fixed issue 1583, thanks ozancag
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.6.0-development+timestamp.2013.07.14.04.57.17
|
Version 2.6.0-development+timestamp.2013.07.14.06.05.02
|
||||||
|
|||||||
@@ -29,6 +29,9 @@ import tempfile
|
|||||||
import random
|
import random
|
||||||
import string
|
import string
|
||||||
import urllib2
|
import urllib2
|
||||||
|
import locale
|
||||||
|
locale.setlocale(locale.LC_CTYPE, "C") # IMPORTANT, web2py requires locale "C"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import simplejson as sj #external installed library
|
import simplejson as sj #external installed library
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user