mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 15:28:50 -04:00
Remove duplicative call to get_page_count_for_letter
For some reason we were calling it twice. We can just reuse the value already calculated
This commit is contained in:
@@ -77,7 +77,7 @@ def view_template(service_id, template_id):
|
||||
filetype='png',
|
||||
),
|
||||
show_recipient=True,
|
||||
page_count=get_page_count_for_letter(template),
|
||||
page_count=page_count,
|
||||
),
|
||||
template_postage=template["postage"],
|
||||
user_has_template_permission=user_has_template_permission,
|
||||
|
||||
Reference in New Issue
Block a user