pluto/handler/db.py

8 lines
166 B
Python
Raw Normal View History

# Other library imports
from redis import StrictRedis
# Project imports
from settings import settings
r = StrictRedis(unix_socket_path=settings.redis_socket, db=0)