Mercurial > hg > egg-tcls
changeset 700:b179f85b2412 default tip
fetch_weather: Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 Jun 2024 14:14:27 +0300 |
parents | f5e09062bce8 |
children | |
files | fetch_weather.pl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/fetch_weather.pl Mon Jun 24 14:13:36 2024 +0300 +++ b/fetch_weather.pl Mon Jun 24 14:14:27 2024 +0300 @@ -540,7 +540,7 @@ # If lat/long matches, and location is not yet defined, or # if timestamp is newer, store to location data if ($frec->{"lat"} == $flat && $frec->{"long"} == $flong && - (!defined($weatherdata->{$floc->{"gml:name"}}) || + (!defined($weatherdata->{$floc->{"gml:name"}}) || $frec->{"time"} >= $weatherdata->{$floc->{"gml:name"}}[2]) ) { @@ -559,7 +559,7 @@ plonk_data_var($frec, "winddirection", ""), plonk_data_var($frec, "totalcloudcover", ""), - + ]; } }