diff --git a/balises.py b/balises.py index 9e28ff4..7874b48 100755 --- a/balises.py +++ b/balises.py @@ -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')