Permalink
Browse files

Switching .ini file prefix to "redis.sessions"

  • Loading branch information...
1 parent d3e82c8 commit 201172696b2284e4824d1816bcb684f38878ffb9 @ericrasmussen ericrasmussen committed May 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 pyramid_redis_sessions/util.py
@@ -52,11 +52,11 @@ def get_unique_session_id(redis, timeout, generator=_generate_session_id):
def _parse_settings(settings):
- """ Convenience function to collect settings prefixed by 'redis.session'.
+ """ Convenience function to collect settings prefixed by 'redis.sessions'.
Coerces 'true' and 'false' (case insensitive) to bools.
"""
keys = filter(
- lambda s: s.startswith('redis.session.'),
+ lambda s: s.startswith('redis.sessions.'),
settings
)
options = {}

0 comments on commit 2011726

Please sign in to comment.