This commit is contained in:
Hossein Shafagh 2019-07-12 10:25:37 -07:00
parent 97d74bfa1d
commit 1b1bdbb261
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ if current_app:
else:
flask_app = create_app()
class RedisHandler:
def __init__(self, host=flask_app.config.get('REDIS_HOST', 'localhost'),
port=flask_app.config.get('REDIS_PORT', 6379),