From 6193ee2152d7dba63bd9d40b9b2a4f56524acbce Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sun, 14 Aug 2022 20:35:08 +0100 Subject: Globally decode binary responses from redis to strings --- bot/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/__main__.py b/bot/__main__.py index e0d2e6ad5..02af2e9ef 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -26,6 +26,7 @@ async def _create_redis_session() -> RedisSession: max_connections=20, use_fakeredis=constants.Redis.use_fakeredis, global_namespace="bot", + decode_responses=True, ) try: return await redis_session.connect() -- cgit v1.2.3