Skip to content

Commit 277961a

Browse files
krademandrewgodwin
authored andcommitted
PendingDeprecationWarning: encoding is deprecated, Use raw=False instead
1 parent 1997169 commit 277961a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels_redis/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def deserialize(self, message):
721721
"""
722722
if self.crypter:
723723
message = self.crypter.decrypt(message, self.expiry + 10)
724-
return msgpack.unpackb(message, encoding="utf8")
724+
return msgpack.unpackb(message, raw=False)
725725

726726
### Internal functions ###
727727

0 commit comments

Comments
 (0)