diff --git a/smash/web/views/kit.py b/smash/web/views/kit.py index f72e58cb61bd786813d8dd2366a1076d6f2b05c1..8c33bbdaf48a3e04af7ae6b3e00c0e0cb7099534 100644 --- a/smash/web/views/kit.py +++ b/smash/web/views/kit.py @@ -106,11 +106,11 @@ def send_mail(data): if item.disposable: email_body += item.name + ", " email_body += "</td>" - location = str(appointment.location) + location = unicode(appointment.location) if appointment.flying_team is not None: - location += " (" + str(appointment.flying_team) + ")" + location += " (" + unicode(appointment.flying_team) + ")" email_body += "<td style='" + cell_style + "'>" + location + "</td>" - email_body += "<td style='" + cell_style + "'>" + str(appointment.worker_assigned) + "</td>" + email_body += "<td style='" + cell_style + "'>" + unicode(appointment.worker_assigned) + "</td>" email_body += "</tr>" email_body += "</tbody></table>" recipients = ConfigurationItem.objects.get(type=KIT_RECIPIENT_EMAIL_CONFIGURATION_TYPE).value