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 4bf7f8b commit 7179fecCopy full SHA for 7179fec
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