Skip to content
Snippets Groups Projects
Commit 67f82a92 authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-94: Fixing linting error

parent ef202d80
No related branches found
No related tags found
1 merge request!136GREG-94: Resend invitation
Pipeline #99843 failed
......@@ -74,14 +74,14 @@ def send_invite_mail(link: InvitationLink) -> Optional[str]:
email_address = link.invitation.role.person.private_email
if not email_address:
logger.warning(
"No e-mail address found for invitation link with ID: {%s}" % link.id
"No e-mail address found for invitation link with ID: {%s}", link.id
)
return None
sponsor = link.invitation.role.sponsor
if not sponsor:
logger.warning(
"Unable to determine sponsor for invitation link with ID: {%s}" % link.id
"Unable to determine sponsor for invitation link with ID: {%s}", link.id
)
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment