Skip to content

Commit 42f931c

Browse files
committed
linter
1 parent 3cb3972 commit 42f931c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cachier/cores/redis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def _raw(field: str):
100100
if isinstance(raw_value, bytes):
101101
value = pickle.loads(raw_value)
102102
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
103+
# try to recover by encoding; prefer utf-8 but fall
104+
# back to latin-1 in case raw binary was coerced to str
105105
try:
106106
value = pickle.loads(raw_value.encode("utf-8"))
107107
except Exception:

0 commit comments

Comments
 (0)