From 1e28fe4ffdadd59a7da0181434629892562f9a68 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 23 Aug 2018 08:57:39 +0100 Subject: [PATCH] Remove redundant argument This `branding_dict` is not used in the Jinja template anywhere. --- app/main/views/email_branding.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/main/views/email_branding.py b/app/main/views/email_branding.py index 62b278a9f..c6a3611d2 100644 --- a/app/main/views/email_branding.py +++ b/app/main/views/email_branding.py @@ -15,10 +15,7 @@ from app.main.s3_client import ( persist_logo, upload_logo, ) -from app.main.views.service_settings import ( - get_branding_as_dict, - get_branding_as_value_and_label, -) +from app.main.views.service_settings import get_branding_as_value_and_label from app.utils import get_cdn_domain, user_is_platform_admin @@ -38,7 +35,6 @@ def email_branding(): return render_template( 'views/email-branding/select-branding.html', form=form, - branding_dict=get_branding_as_dict(brandings), search_form=SearchTemplatesForm(), show_search_box=len(brandings) > 9, )