Skip to content

Commit

Permalink
Add Black recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
jonakoudijs committed Sep 22, 2023
1 parent 5c8d0de commit 3946d53
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,10 @@ def redis_connection():
rds = redis.Redis(
host=os.environ["REDIS_HOST"],
port=os.environ["REDIS_PORT"],
password=os.environ["REDIS_PASSWORD"]
password=os.environ["REDIS_PASSWORD"],
)
else:
rds = redis.Redis(
host=os.environ["REDIS_HOST"],
port=os.environ["REDIS_PORT"]
)
rds = redis.Redis(host=os.environ["REDIS_HOST"], port=os.environ["REDIS_PORT"])

# return connection
return rds
Expand Down

0 comments on commit 3946d53

Please sign in to comment.