Commits

Graham Higgins committed 5e16d16

Correct incorrectly positioned filter

  • Participants
  • Parent commits 573c52c

Comments (0)

Files changed (1)

File shabti/templates/default/+package+/lib/base.py_tmpl

         # available in environ['pylons.routes_dict']
         
         # Insert any code to be run per request here.
-        {{if sqlalchemy}}
         try:
             return WSGIController.__call__(self, environ, start_response)
         finally:
+{{if sqlalchemy}}
             Session.remove(){{else}}        return WSGIController.__call__(self, environ, start_response){{endif}}