Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 53a82fda3f | |||
| a82799d358 | |||
| 80f39ec79b |
@@ -10,7 +10,7 @@
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
__version__ = '1.0.3'
|
||||
__version__ = '1.0.4'
|
||||
|
||||
import os
|
||||
|
||||
|
||||
@@ -229,7 +229,7 @@ class RedisSessionInterface(SessionInterface):
|
||||
"""
|
||||
if self.backend is None:
|
||||
import aioredis
|
||||
uri = app.config.get('SESSION_URI', 'redis://localhost')
|
||||
uri = self._config.get('SESSION_URI', 'redis://localhost')
|
||||
self.backend = await aioredis.from_url(
|
||||
uri, encoding="utf-8", decode_responses=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user