Mercurial > kallithea
comparison pylons_app/config/middleware.py @ 269:183c06406127
fixed bug in middleware config
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 07 Jun 2010 14:54:27 +0200 |
parents | c8162373f214 |
children | 7e4771a0ff43 |
comparison
equal
deleted
inserted
replaced
268:bd70107ef256 | 269:183c06406127 |
---|---|
67 if asbool(static_files): | 67 if asbool(static_files): |
68 # Serve static files | 68 # Serve static files |
69 static_app = StaticURLParser(config['pylons.paths']['static_files']) | 69 static_app = StaticURLParser(config['pylons.paths']['static_files']) |
70 app = Cascade([static_app, app]) | 70 app = Cascade([static_app, app]) |
71 | 71 |
72 app.config = config | 72 app.config = config |
73 | 73 |
74 return app | 74 return app |
75 | 75 |