Skip to content

Commit

Permalink
Use .lower on session type
Browse files Browse the repository at this point in the history
Closes #182
  • Loading branch information
Lxstr committed Feb 27, 2024
1 parent 5b999f2 commit d2ce725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flask_session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def _get_interface(self, app):
"serialization_format": SESSION_SERIALIZATION_FORMAT,
}

SESSION_TYPE = SESSION_TYPE.lower()

if SESSION_TYPE == "redis":
from .redis import RedisSessionInterface

Expand Down

0 comments on commit d2ce725

Please sign in to comment.