Skip to content

Commit 124b398

Browse files
committed
Guard against None coming out of the draft parser, we need to convert
that into an empty string, fixes ietf-tools#775. - Legacy-Id: 3997
1 parent 8723e7f commit 124b398

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def save_draft_info(self, draft):
282282
TempIdAuthors.objects.create(
283283
id_document_tag=document_id,
284284
first_name=full_name.strip(),
285-
email_address=email,
285+
email_address=(email or "").strip(),
286286
author_order=order,
287287
submission=detail)
288288
else:

0 commit comments

Comments
 (0)