We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8d0de commit 3946d53Copy full SHA for 3946d53
1 file changed
src/functions.py
@@ -96,13 +96,10 @@ def redis_connection():
96
rds = redis.Redis(
97
host=os.environ["REDIS_HOST"],
98
port=os.environ["REDIS_PORT"],
99
- password=os.environ["REDIS_PASSWORD"]
+ password=os.environ["REDIS_PASSWORD"],
100
)
101
else:
102
- rds = redis.Redis(
103
- host=os.environ["REDIS_HOST"],
104
- port=os.environ["REDIS_PORT"]
105
- )
+ rds = redis.Redis(host=os.environ["REDIS_HOST"], port=os.environ["REDIS_PORT"])
106
107
# return connection
108
return rds
0 commit comments