Changeset 10602


Ignore:
Timestamp:
10 Sep 2013, 12:41:24 (11 years ago)
Author:
uli
Message:

Fix style sheet response.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.cas/trunk/waeup/cas/server.py

    r10600 r10602  
    265265    def __call__(self, req):
    266266        if req.path == '/style.css':
    267             return get_template('style.css')
     267            return Response(get_template('style.css'), content_type='text/css')
    268268        with DBSessionContext():
    269269            if req.path in ['/login', '/validate', '/logout']:
Note: See TracChangeset for help on using the changeset viewer.