annot-server/webapp/__init__.py
changeset 23 16a1925df2df
parent 22 986ee928a866
child 24 eb1f7b06001f
--- a/annot-server/webapp/__init__.py	Tue Oct 14 05:07:37 2014 +0200
+++ b/annot-server/webapp/__init__.py	Tue Oct 14 08:12:54 2014 +0200
@@ -17,7 +17,3 @@
 app.config.from_object(config)
 
 import webapp.views
-
-@app.teardown_appcontext
-def shutdown_session(exception=None):
-    database.db_session.remove()