Fix issue with draft approval emails for individual submission, found by Cindy Morgan

- Legacy-Id: 3912
This commit is contained in:
Ole Laursen 2012-02-08 13:15:32 +00:00
parent 46139d2486
commit af071fd142

View file

@ -306,7 +306,7 @@ def generate_approval_mail_approved(request, doc):
# the second check catches some area working groups (like
# Transport Area Working Group)
if doc.group.type_id != "area" and not doc.group.name.endswith("Working Group"):
if doc.group.type_id not in ("area", "individ") and not doc.group.name.endswith("Working Group"):
doc.group.name_with_wg = doc.group.name + " Working Group"
if doc.group.list_email:
cc.append("%s mailing list <%s>" % (doc.group.acronym, doc.group.list_email))