mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Fix string formatting issue.
I used python 3 syntax, we aren't yet using python 3...
This commit is contained in:
@@ -317,7 +317,7 @@ class EventAuthorisationRequest(generic.FormView, generic.detail.SingleObjectMix
|
||||
}
|
||||
|
||||
msg = EmailMessage(
|
||||
"N%05d | %s - Event Authorisation Request".format(self.object.pk, self.object.name),
|
||||
"N%05d | %s - Event Authorisation Request" % (self.object.pk, self.object.name),
|
||||
get_template("RIGS/eventauthorisation_client_request.txt").render(context),
|
||||
to=[email],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user