Skip to content

Commit

Permalink
Merge pull request #353 from Rotzbua/chore_remove_outdated
Browse files Browse the repository at this point in the history
chore: remove outdated super() call
  • Loading branch information
giovannicimolin authored Jul 22, 2024
2 parents 48dd83f + 38589f5 commit 1405475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knox/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create(
digest = crypto.hash_token(token)
if expiry is not None:
expiry = timezone.now() + expiry
instance = super(AuthTokenManager, self).create(
instance = super().create(
token_key=token[:CONSTANTS.TOKEN_KEY_LENGTH], digest=digest,
user=user, expiry=expiry, **kwargs)
return instance, token
Expand Down

0 comments on commit 1405475

Please sign in to comment.