From 2cd0ff81e4d994d4f9c23bf9ba81f0fb1b948c2b Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 6 Oct 2024 22:37:31 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index 536864f..5f212e3 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -104,7 +104,7 @@ def getRepeaterBook(lat=0, lon=0): # Limit the output to the first 4 repeaters for repeater in data[:4]: msg += f"{repeater['call_sign']}📶{repeater['frequency']}{repeater['offset']},{repeater['tone']}🧭{repeater['direction']}" - if repeater != data[-1]: msg += '\n' + if repeater != data[:4][-1]: msg += '\n' return msg def getArtSciRepeaters(lat=0, lon=0):