setting locale to default, fixed issue 1583, thanks ozancag
This commit is contained in:
1 parent
1a58701d57
commit
44697f5544
2 files changed
+4
-1
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user