From 82b6f1cbf81b91ce8a1446ac7ae4f0b9d1eb1a90 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Mon, 10 Apr 2017 23:43:42 +0100 Subject: [PATCH] Fix string formatting issue. I used python 3 syntax, we aren't yet using python 3... --- RIGS/rigboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index f6565b3f..61ebc3a7 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -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], )