From 0f99eb6dc8be3908785acaf591b8e0954f137650 Mon Sep 17 00:00:00 2001 From: bos Date: Fri, 1 Jun 2007 19:53:16 +0200 Subject: [PATCH] Hack pour resoudre le probleme d'encodage darcs-hash:20070601175316-c992d-4e9127664f348be3a46549edd08345042553ddd4.gz --- intranet/Root.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intranet/Root.py b/intranet/Root.py index 3e43c237..2dd3f465 100755 --- a/intranet/Root.py +++ b/intranet/Root.py @@ -27,6 +27,8 @@ import cherrypy, sys, os, datetime import crans.utils.exceptions sys.path.append('/usr/scripts/gestion/') +reload(sys) +sys.setdefaultencoding('utf-8') # ######################################################## # # COMMAND LINE OPTION # # ######################################################## #