From b6030c466beaf2170e751d4e516a69bad23a883e Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 19 Jun 2024 21:13:06 -0700 Subject: [PATCH] Update mesh-bot.py --- mesh-bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mesh-bot.py b/mesh-bot.py index 1c64736..0e57141 100644 --- a/mesh-bot.py +++ b/mesh-bot.py @@ -69,9 +69,8 @@ def auto_response(message,snr,rssi,hop,message_from_id): location = get_node_location(message_from_id) lat = location[0] lon = location[1] - print (f"Using Reported Location: {location}") - suntime = get_sunrise_sunset(lat,lon) - bot_response = "Sunrise: " + suntime[0] + "\nSunset: " + suntime[1] + print (f"Using Location: {location}") + bot_response = get_sun(lat,lon) elif "hfcond" in message.lower(): bot_response = hf_band_conditions() elif "solar" in message.lower():