Update solarconditions.py

This commit is contained in:
SpudGunMan
2024-06-19 21:51:53 -07:00
parent a92ec2b240
commit 1d3385861f
+1 -1
View File
@@ -91,7 +91,7 @@ def get_sun(lat=0, lon=0):
local_sunset = ephem.localtime(obs.next_setting(sun))
sun_table['rise_time'] = local_sunrise.strftime('%a %d %I:%M')
sun_table['set_time'] = local_sunset.strftime('%a %d %I:%M')
sun_data = f"Next Sun Rise: " + sun_table['rise_time'] + "\nSet: " + sun_table['set_time']
sun_data = f"Sun Rise: " + sun_table['rise_time'] + "\nSet: " + sun_table['set_time']
return sun_data
def get_moon(lat=0, lon=0):