How to fix redis.exceptions.ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value in Python | DevErrors