fix _response

This commit is contained in:
Pratik Vyas 2014-03-11 12:42:47 +05:30
parent cc64d7a224
commit 3081224bbc

View file

@ -76,9 +76,10 @@ def application(request):
frappe.local._response = handle_session_stopped()
finally:
_response = frappe.local._response
frappe.destroy()
return frappe.local._response
return _response
application = local_manager.make_middleware(application)