From 9f78981403a23dfdcbc77af841f23f1153ac67d8 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Mon, 30 Aug 2021 11:42:52 +0300 Subject: [PATCH] fix: decode aioredis v2 responses --- aiogram/contrib/fsm_storage/redis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiogram/contrib/fsm_storage/redis.py b/aiogram/contrib/fsm_storage/redis.py index c8b95517..817a2442 100644 --- a/aiogram/contrib/fsm_storage/redis.py +++ b/aiogram/contrib/fsm_storage/redis.py @@ -331,6 +331,7 @@ class AioRedisAdapterV2(AioRedisAdapterBase): password=self._password, ssl=self._ssl, max_connections=self._pool_size, + decode_responses=True, **self._kwargs, ) return self._redis