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

+3
View File
@@ -29,6 +29,9 @@ import tempfile
import random
import string
import urllib2
import locale
locale.setlocale(locale.LC_CTYPE, "C") # IMPORTANT, web2py requires locale "C"
try:
import simplejson as sj #external installed library
except: