Skip to content

Commit

Permalink
Prefer redis over Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Mar 11, 2024
1 parent cabfa0e commit 0e8079a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pste/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

import shutil

import redis
import sentry_sdk
from flask import Flask
from redis import Redis
from sentry_sdk.integrations.flask import FlaskIntegration
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
from webassets import Bundle
Expand Down Expand Up @@ -88,7 +88,7 @@ def init_extensions(app):
)
db.init_app(app)

sessions_redis = Redis.from_url(
sessions_redis = redis.from_url(
app.config.get(
"sessions_redis_url", app.config.get("redis_url", "redis://localhost:6379")
)
Expand Down

0 comments on commit 0e8079a

Please sign in to comment.