mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-14 19:39:47 +00:00
update uri to get NOAA METAR data (#325)
This commit is contained in:
parent
774afe202b
commit
397a0e4581
@ -863,7 +863,7 @@ static int process_weather_uri(char *uri, char *locID, int dayf UNUSED_ATTR)
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif /* BUILD_WEATHER_XOAP */
|
#endif /* BUILD_WEATHER_XOAP */
|
||||||
if (strstr(uri, "weather.noaa.gov")) {
|
if (strstr(uri, "tgftp.nws.noaa.gov")) {
|
||||||
strcat(uri, locID);
|
strcat(uri, locID);
|
||||||
strcat(uri, ".TXT");
|
strcat(uri, ".TXT");
|
||||||
} else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) {
|
} else if (!strstr(uri, "localhost") && !strstr(uri, "127.0.0.1")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user