Assume email always provided

There’s no way for a user to submit the form without it now.
This commit is contained in:
Chris Hill-Scott
2020-03-24 15:54:44 +00:00
parent 8e055a4375
commit 34a5ddaf2c

View File

@@ -111,10 +111,9 @@ def feedback(ticket_type):
else:
service_string = ''
feedback_msg = '{}\n{}{}'.format(
feedback_msg = '{}\n{}'.format(
form.feedback.data,
service_string,
'' if user_email else '{} (no email address supplied)'.format(form.name.data)
)
zendesk_client.create_ticket(