From 309cf4df97c97ffe407d411427e49332bd9552b2 Mon Sep 17 00:00:00 2001 From: Noorhteen Raja NJ Date: Mon, 15 May 2023 19:49:01 +0530 Subject: [PATCH] Update core_signing.py TimestampSigner is now only accepts key word arguments --- django_q/core_signing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/core_signing.py b/django_q/core_signing.py index 03e83a4c..f77b783a 100644 --- a/django_q/core_signing.py +++ b/django_q/core_signing.py @@ -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