diff --git a/main.py b/main.py index a312188..ef16a90 100644 --- a/main.py +++ b/main.py @@ -14,7 +14,7 @@ c = conn.cursor() app = Flask(__name__) key = str(uuid.uuid4().hex) -SESSION_TYPE = 'redis' +app.config['SESSION_TYPE'] = 'redis' print(key) app.secret_key = key Session(app)