diff --git a/helpdesk/lib.py b/helpdesk/lib.py index 0826b346..e30a2a85 100644 --- a/helpdesk/lib.py +++ b/helpdesk/lib.py @@ -102,7 +102,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b "{{ ticket.ticket }} {{ ticket.title|safe }} %s" % t.subject ).render(context) - if type(recipients) == str: + if type(recipients) == str or type(recipients) == unicode: if recipients.find(','): recipients = recipients.split(',') elif type(recipients) != list: