Skip to content

Commit

Permalink
style(ruff): fix syle typo in lazy translation
Browse files Browse the repository at this point in the history
Signed-off-by: David Wallace <[email protected]>
  • Loading branch information
MyPyDavid committed Jul 18, 2024
1 parent 91923cd commit 27aa637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdmo/projects/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get(self, request, token):
error = _('Sorry, your invitation has been expired.')
invite.delete()
elif invite.user and invite.user != request.user:
error = _('Sorry, but this invitation is for the user "{}".'.format(invite.user))
error = _('Sorry, but this invitation is for the user "%s".') % invite.user
elif Membership.objects.filter(project=invite.project, user=request.user).exists():
invite.delete()
return redirect(invite.project.get_absolute_url())
Expand Down

0 comments on commit 27aa637

Please sign in to comment.