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

GREG-94: Using lazy formatting in logging functions

parent a5c09ec4
No related branches found
No related tags found
1 merge request!136GREG-94: Resend invitation
...@@ -81,7 +81,7 @@ def send_invite_mail(link: InvitationLink) -> Optional[str]: ...@@ -81,7 +81,7 @@ def send_invite_mail(link: InvitationLink) -> Optional[str]:
sponsor = link.invitation.role.sponsor sponsor = link.invitation.role.sponsor
if not sponsor: if not sponsor:
logger.warning( logger.warning(
"Unable to determine sponsor for invitation link with ID: {link.id}" "Unable to determine sponsor for invitation link with ID: {%s}" % link.id
) )
return None 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