aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2010-06-25 13:44:38 -0400
committerChris Ball <cjb@laptop.org>2010-06-25 13:44:38 -0400
commit62e4f0eda96b09e39ced25f770df03bbda097d88 (patch)
tree070284afc06f4297e6a06a179f800843020086a1 /interfaces
parent6013fbe61abc821cd23cb975b917285164131063 (diff)
parent43a6f0c4a5f2c8d706569d1ea54af2b0a638bff0 (diff)
downloadbugseverywhere-62e4f0eda96b09e39ced25f770df03bbda097d88.tar.gz
Merge branch 'master' of http://www.physics.drexel.edu/~wking/code/git/be
Diffstat (limited to 'interfaces')
-rwxr-xr-xinterfaces/web/cfbe.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/interfaces/web/cfbe.py b/interfaces/web/cfbe.py
index e8d80ca..68c484d 100755
--- a/interfaces/web/cfbe.py
+++ b/interfaces/web/cfbe.py
@@ -32,7 +32,11 @@ options = parse_arguments()
WebInterface = web.WebInterface(path.abspath(options['bug_root']), template_dir)
-cherrypy.config.update({'tools.staticdir.root': path.join(module_dir, 'static')})
+cherrypy.config.update({
+ 'tools.encode.on': True,
+ 'tools.encode.encoding': 'utf8',
+ 'tools.staticdir.root': path.join(module_dir, 'static'),
+ })
app_config = { '/static': { 'tools.staticdir.on': True,
'tools.staticdir.dir': '', } }
cherrypy.quickstart(WebInterface, '/', app_config)