Hi,
def format_temp(temp):
return (hour['FeelsLikeF']+"°").ljust(3)
hardcodes Fahrenheit when most places use celsius. I ended up just changing it to "FeelsLikeC" (also had to do this in a few more spots) and changing the requests.get url to https://wttr.in/MYCITY?m&format=j1 to force correct city and metric (otherwise whenever I connect my vpn if the weather update happens I get weird weather).
I am sure this is something that can be fixed proggramatically but I am not sure you will want to try or not as it works for you in this format, so hopefully if anyone else runs into this they can fix it from my paragraph above.
Hi, def format_temp(temp): return (hour['FeelsLikeF']+"°").ljust(3) hardcodes Fahrenheit when most places use celsius. I ended up just changing it to "FeelsLikeC" (also had to do this in a few more spots) and changing the requests.get url to https://wttr.in/MYCITY?m&format=j1 to force correct city and metric (otherwise whenever I connect my vpn if the weather update happens I get weird weather).
I am sure this is something that can be fixed proggramatically but I am not sure you will want to try or not as it works for you in this format, so hopefully if anyone else runs into this they can fix it from my paragraph above.