Skip to content

Commit

Permalink
Merge pull request #2 from parkpow/fix-django-4.2-deprecation
Browse files Browse the repository at this point in the history
Update core_signing.py
  • Loading branch information
jnoortheen authored May 15, 2023
2 parents c00aa95 + 309cf4d commit 1b010f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_q/core_signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def loads(
"""
# TimestampSigner.unsign() returns str but base64 and zlib compression
# operate on bytes.
base64d = force_bytes(TimestampSigner(key, salt=salt).unsign(s, max_age=max_age))
base64d = force_bytes(TimestampSigner(key=key, salt=salt).unsign(s, max_age=max_age))
decompress = False
if base64d[:1] == b".":
# It's compressed; uncompress it first
Expand Down

0 comments on commit 1b010f5

Please sign in to comment.