We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cac380 commit ab71d32Copy full SHA for ab71d32
django_mongodb_backend/cache.py
@@ -23,8 +23,6 @@ def loads(self, data):
23
try:
24
return int(data)
25
except (ValueError, TypeError):
26
- if not isinstance(data, bytes):
27
- raise ValueError("Invalid data type for unpickling") from None
28
return pickle.loads(data) # noqa: S301
29
30
0 commit comments