UPDATED: Strip inputed emails before creating TicketCC instances

This commit is contained in:
Bruno Tikami 2016-03-17 01:39:17 -03:00
parent 9e64354d8a
commit 5933d2a59b

View File

@ -179,6 +179,7 @@ def create_ticket_cc(ticket, cc_list):
for cced_email in cc_list:
user = None
cced_email = cced_email.strip()
try:
user = User.objects.get(email=cced_email)