Fix super call to work with Python 2.x

This commit is contained in:
Eagllus
2018-02-06 12:10:17 +01:00
parent 0a2aed38d2
commit 3f6c0f76a6
+1 -1
View File
@@ -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: