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 20bed0e commit 37db711
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions onadata/libs/utils/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ def check_token(self, invitation, token): # pylint: disable=arguments-renamed
# with:
# return False
if not constant_time_compare(
self._make_token_with_timestamp( # pylint: disable=no-value-for-parameter,unexpected-keyword-arg,line-too-long
# pylint: disable=no-value-for-parameter,unexpected-keyword-arg
self._make_token_with_timestamp(
invitation,
ts,
legacy=True,
), # pylint: disable=no-value-for-parameter,unexpected-keyword-arg
),
token,
):
return False
Expand Down

0 comments on commit 37db711

Please sign in to comment.