mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 08:11:39 +00:00
tweaked weather filters
This commit is contained in:
parent
a9fbd19a9b
commit
a2256de3df
2
inxi
2
inxi
|
@ -15581,7 +15581,7 @@ sub get_weather {
|
|||
$freshness = (split /\^\^/, $weather_data[0])[1];
|
||||
#print "$now:$freshness\n";
|
||||
}
|
||||
if (!$freshness || $freshness < ($now - 90) ) {
|
||||
if (!$freshness || $freshness < ($now - 60) ) {
|
||||
@weather_data = download_weather($now,$file_cached,@location);
|
||||
}
|
||||
#print join "\n", @weather_data, "\n";
|
||||
|
|
Loading…
Reference in a new issue