From 3f6c0f76a677cc5ac39edc5af548dae4c065fb57 Mon Sep 17 00:00:00 2001 From: Eagllus Date: Tue, 6 Feb 2018 11:18:42 +0100 Subject: [PATCH] Fix super call to work with Python 2.x --- 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 1790a0b..c433c83 100644 --- a/django_q/core_signing.py +++ b/django_q/core_signing.py @@ -62,7 +62,7 @@ class TimestampSigner(Signer, TsS): Retrieve original value and check it wasn't signed more than max_age seconds ago. """ - result = super().unsign(value) + result = super(TimestampSigner, self).unsign(value) value, timestamp = result.rsplit(self.sep, 1) timestamp = baseconv.base62.decode(timestamp) if max_age is not None: