Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Commit 687cd37

Browse files
author
Sourcery AI
committed
'Refactored by Sourcery'
1 parent 83d6fdb commit 687cd37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zoo/checklists/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ def get_context_data(self, *, object_list=None, **kwargs):
3939
"name_slug": service.name_slug,
4040
"completed_checklist_steps": service.checkmarks.count,
4141
"total_checklist_steps": sum(
42-
[len(steps) for tag, steps in get_service_steps(service)]
42+
len(steps) for tag, steps in get_service_steps(service)
4343
),
4444
}
4545
for service in self.get_queryset()
4646
]
47+
4748
return context
4849

4950

0 commit comments

Comments
 (0)