Skip to content

Commit

Permalink
Fix ruff's error
Browse files Browse the repository at this point in the history
  • Loading branch information
myungsegyo committed Nov 17, 2023
1 parent 0bf13f9 commit 1d41d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_redis/compressors/gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def decompress(self, value: bytes) -> bytes:
try:
return gzip.decompress(value)
except gzip.BadGzipFile as e:
raise CompressorError(e)
raise CompressorError from e

0 comments on commit 1d41d87

Please sign in to comment.