Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nksama authored Dec 3, 2021
1 parent 38dd470 commit b113d8b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions nksama/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
plugins=dict(root=f"{__name__}/plugins")
)

r = os.environ.get("REDIS_URL").split(":")
REDIS_PASSWORD = r[2]
REDIS_PORT = r[1]
# r = os.environ.get("REDIS_URL").split(":")
# REDIS_PASSWORD = r[2]
# REDIS_PORT = r[1]

REDIS_DB = Redis(
host=r[0],
password=REDIS_PASSWORD,
port=REDIS_PORT,
decode_responses=True,
)
# REDIS_DB = Redis(
# host=r[0],
# password=REDIS_PASSWORD,
# port=REDIS_PORT,
# decode_responses=True,
# )

REDIS_DB.ping()
# REDIS_DB.ping()
PYRO_SESSION = os.environ['PYRO_SESSION']

musicbot = Client(
Expand Down

0 comments on commit b113d8b

Please sign in to comment.