diff --git a/spp_audit_log/models/spp_audit_log.py b/spp_audit_log/models/spp_audit_log.py index 2c168bb..252fc6c 100644 --- a/spp_audit_log/models/spp_audit_log.py +++ b/spp_audit_log/models/spp_audit_log.py @@ -119,7 +119,7 @@ def _compute_data_html(self): for rec in self: thead = "" for head in (_("Field"), _("Old value"), _("New value")): - thead += "%s" % head + thead += '{head}'.format(head=head) thead = "%s" % thead tbody = "" for line in rec._get_content():