setting locale to default, fixed issue 1583, thanks ozancag

This commit is contained in:
mdipierro committed 2013-07-14 06:05:49 -05:00
1 parent 1a58701d57
commit 44697f5544
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -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
+3
View File
@@ -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: