From 8b234b83224dbbc4030a261099299c1b13165169 Mon Sep 17 00:00:00 2001 From: Adrian Cowan Date: Sat, 4 Oct 2025 13:51:26 +1000 Subject: [PATCH] Fix bug in teams status (was fixed long ago) --- 2-nomad-config/teamsstatus.nomad.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-nomad-config/teamsstatus.nomad.hcl b/2-nomad-config/teamsstatus.nomad.hcl index f8833d7..cc1e38f 100644 --- a/2-nomad-config/teamsstatus.nomad.hcl +++ b/2-nomad-config/teamsstatus.nomad.hcl @@ -234,7 +234,7 @@ def build_message(distance, start_loc, end_loc): message = "On leave" if distance > 13144: message += f", driving my EV back from WA" - if distance > 2118: + elif distance > 2118: message += f", driving my EV around WA" elif distance > 0: message += f", driving my EV to WA"