From c53e0d626fe85fbcd4f97b048f4bb2903ef08d6a Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Wed, 2 Dec 2009 10:58:42 -0500 Subject: [PATCH] Fix static_enabled config option and a bad image path in the index template --- lib/galaxy/web/buildapp.py | 2 +- templates/root/index.mako | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/web/buildapp.py b/lib/galaxy/web/buildapp.py index a2238a464a5..243776d303d 100644 --- a/lib/galaxy/web/buildapp.py +++ b/lib/galaxy/web/buildapp.py @@ -84,7 +84,7 @@ def app_factory( global_conf, **kwargs ): # Wrap the webapp in some useful middleware if kwargs.get( 'middleware', True ): webapp = wrap_in_middleware( webapp, global_conf, **kwargs ) - if kwargs.get( 'static_enabled', True ): + if asbool( kwargs.get( 'static_enabled', True ) ): webapp = wrap_in_static( webapp, global_conf, **kwargs ) # Close any pooled database connections before forking try: diff --git a/templates/root/index.mako b/templates/root/index.mako index d86c68f8ac0..23701151be2 100644 --- a/templates/root/index.mako +++ b/templates/root/index.mako @@ -102,7 +102,7 @@
- ${_('Options')} + ${_('Options')}
${_('History')}