We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cb3972 commit 42f931cCopy full SHA for 42f931c
1 file changed
src/cachier/cores/redis.py
@@ -100,8 +100,8 @@ def _raw(field: str):
100
if isinstance(raw_value, bytes):
101
value = pickle.loads(raw_value)
102
elif isinstance(raw_value, str):
103
- # try to recover by encoding; prefer utf-8 but fall back
104
- # to latin-1 in case raw binary was coerced to str
+ # try to recover by encoding; prefer utf-8 but fall
+ # back to latin-1 in case raw binary was coerced to str
105
try:
106
value = pickle.loads(raw_value.encode("utf-8"))
107
except Exception:
0 commit comments