mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-07 09:22:30 +01:00
Update locationdata.py
This commit is contained in:
1 parent
3dfc2a55be
commit
f0d452c7f6
1 file changed
+2
-1
@@ -129,7 +129,7 @@ def get_weather(lat=0, lon=0, unit=0):
|
||||
return weather
|
||||
|
||||
def abbreviate_weather(row):
|
||||
# replace long strings with shorter ones for display used in get_weather, get_wx_alerts_list, get_wx_alert_details
|
||||
# replace long strings with shorter ones for display
|
||||
replacements = {
|
||||
"Monday": "Mon ",
|
||||
"Tuesday": "Tue ",
|
||||
@@ -137,6 +137,7 @@ def abbreviate_weather(row):
|
||||
"Thursday": "Thu ",
|
||||
"Friday": "Fri ",
|
||||
"Saturday": "Sat ",
|
||||
"Sunday": "Sunday ",
|
||||
"Today": "Today ",
|
||||
"Night": "Night ",
|
||||
"Tonight": "Tonight ",
|
||||
|
||||
Reference in new issue
Block a user