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

Commit b113d8b

Browse files
authored
Update __init__.py
1 parent 38dd470 commit b113d8b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

nksama/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
plugins=dict(root=f"{__name__}/plugins")
1111
)
1212

13-
r = os.environ.get("REDIS_URL").split(":")
14-
REDIS_PASSWORD = r[2]
15-
REDIS_PORT = r[1]
13+
# r = os.environ.get("REDIS_URL").split(":")
14+
# REDIS_PASSWORD = r[2]
15+
# REDIS_PORT = r[1]
1616

17-
REDIS_DB = Redis(
18-
host=r[0],
19-
password=REDIS_PASSWORD,
20-
port=REDIS_PORT,
21-
decode_responses=True,
22-
)
17+
# REDIS_DB = Redis(
18+
# host=r[0],
19+
# password=REDIS_PASSWORD,
20+
# port=REDIS_PORT,
21+
# decode_responses=True,
22+
# )
2323

24-
REDIS_DB.ping()
24+
# REDIS_DB.ping()
2525
PYRO_SESSION = os.environ['PYRO_SESSION']
2626

2727
musicbot = Client(

0 commit comments

Comments
 (0)