Fix string formatting issue.

I used python 3 syntax, we aren't yet using python 3...
This commit is contained in:
Tom Price
2017-04-10 23:43:42 +01:00
parent 5be3842aea
commit 82b6f1cbf8

View File

@@ -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],
)