summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-14 15:19:22 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-14 15:19:22 +0100
commit79596dc88fddc7e4e51b8d983faace292ae6234a (patch)
tree5fe6c5a26265f8864420d2ccf6386c31ad110f89
parent2aaefe0da2b287dc09d73b5fe1c9044ba237e66b (diff)
removes erroneous return line
-rw-r--r--engagements/models.py1
1 files changed, 0 insertions, 1 deletions
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()]