Merge pull request #9 from sanderfoobar/self-cfg-update-version

dont use app.config, bump version
This commit is contained in:
Sander
2022-03-10 15:01:28 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
:license: BSD, see LICENSE for more details. :license: BSD, see LICENSE for more details.
""" """
__version__ = '1.0.3' __version__ = '1.0.4'
import os import os
+1 -1
View File
@@ -229,7 +229,7 @@ class RedisSessionInterface(SessionInterface):
""" """
if self.backend is None: if self.backend is None:
import aioredis import aioredis
uri = app.config.get('SESSION_URI', 'redis://localhost') uri = self._config.get('SESSION_URI', 'redis://localhost')
self.backend = await aioredis.from_url( self.backend = await aioredis.from_url(
uri, encoding="utf-8", decode_responses=True uri, encoding="utf-8", decode_responses=True
) )
+1 -1
View File
@@ -24,7 +24,7 @@ INSTALL_REQUIRES = [
setup( setup(
name='Quart-Session', name='Quart-Session',
version='1.0.3', version='1.0.4',
url='https://github.com/sferdi0/quart-session', url='https://github.com/sferdi0/quart-session',
license='BSD', license='BSD',
author='Sander', author='Sander',