Remove redundant argument

This `branding_dict` is not used in the Jinja template anywhere.
This commit is contained in:
Chris Hill-Scott
2018-08-23 08:57:39 +01:00
parent 0e7ed2b0cf
commit 1e28fe4ffd

View File

@@ -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,
)