Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Jun 26, 2023
1 parent 8d41731 commit e084aac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onadata/libs/utils/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ def check_token(self, invitation, token): # pylint: disable=arguments-renamed
# with:
# return False
if not constant_time_compare(
# pylint: disable=unexpected-keyword-arg
self._make_token_with_timestamp(
invitation,
ts,
legacy=True,
), # pylint: disable=no-value-for-parameter
), # pylint: disable=no-value-for-parameter,unexpected-keyword-arg
token,
):
return False
Expand Down

0 comments on commit e084aac

Please sign in to comment.