Fix locale
This commit is contained in:
@@ -11,6 +11,12 @@ import os
|
||||
from peewee import *
|
||||
from bottle import hook, request, route, run, view
|
||||
|
||||
# Set the locale for all categories to the user’s default setting (eg. LANG
|
||||
# environment variable)
|
||||
import locale
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
|
||||
|
||||
# ------------------------------------------------------------
|
||||
conf = ConfigParser()
|
||||
conf.read(os.path.dirname(__file__) + '/balises.ini')
|
||||
|
||||
Reference in New Issue
Block a user