From d6fec9f921cfbe1c1165db5555af040f2c0bb601 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 15 Nov 2017 09:59:52 +0000 Subject: [PATCH] Add named argument for clarity --- app/main/views/dashboard.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main/views/dashboard.py b/app/main/views/dashboard.py index fe6ac4fa2..52fe1bc57 100644 --- a/app/main/views/dashboard.py +++ b/app/main/views/dashboard.py @@ -244,7 +244,9 @@ def get_dashboard_partials(service_id): ] service = service_api_client.get_detailed_service(service_id) column_width, max_notifiction_count = get_column_properties( - 3 if 'letter' in current_service['permissions'] else 2 + number_of_columns=( + 3 if 'letter' in current_service['permissions'] else 2 + ) ) dashboard_totals = get_dashboard_totals(service['data']['statistics']), highest_notification_count = max(