Skip to content

Commit 1d41d87

Browse files
committed
Fix ruff's error
1 parent 0bf13f9 commit 1d41d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_redis/compressors/gzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def decompress(self, value: bytes) -> bytes:
1616
try:
1717
return gzip.decompress(value)
1818
except gzip.BadGzipFile as e:
19-
raise CompressorError(e)
19+
raise CompressorError from e

0 commit comments

Comments
 (0)