From 79596dc88fddc7e4e51b8d983faace292ae6234a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 14 Oct 2024 15:19:22 +0100 Subject: removes erroneous return line --- engagements/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/engagements/models.py b/engagements/models.py index 24acabd..bb1d2bd 100644 --- a/engagements/models.py +++ b/engagements/models.py @@ -162,7 +162,6 @@ class Engagement(Common): def get_officers(self): officers_from_effort = list(chain.from_iterable([x.officers.all() for x in self.effort.all()])) return [o.fullname() for o in set(officers_from_effort + list(self.officers.all()))] - return "toss" # return [" ".join([x.first_name, x.last_name]) for x in self.officers.all()] -- cgit v1.2.3