Permalink
Browse files

Fix sessions and installs

  • Loading branch information...
1 parent 92884ed commit 1e9256e6cd064088886f7b4f4f6b12123521f0ce @ruddzw committed Mar 11, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 MANIFEST.in
  2. +1 −1 sandpiper/__init__.py
View
@@ -1 +1 @@
-README.md
+include README.md
View
@@ -249,7 +249,7 @@ def _wsgi_app(environ, start_response):
args = (request,) + re_match.groups()
response = handler(*args)
if isinstance(response, HttpResponse):
- _SESSION_STORE.set(request.session_key, request.session)
+ _SESSION_STORE[request.session_key] = request.session
response.cookies['sandpiper_session'] = request.session_key
headers = [('Content-Type', response.content_type)] + response.headers
start_response(response.status_text, headers)

0 comments on commit 1e9256e

Please sign in to comment.