changeset 356:0de6e0c2c89c

fetch_weather: Adjust minimum acceptable recached entry array size.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 11 Dec 2015 22:54:26 +0200
parents a74cb8a1abf5
children b1e7ffeaacef
files fetch_weather.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fetch_weather.pl	Fri Dec 11 22:38:38 2015 +0200
+++ b/fetch_weather.pl	Fri Dec 11 22:54:26 2015 +0200
@@ -286,7 +286,7 @@
     foreach my $line (split(/\s*\n\s*/, $str))
     {
       my @mtmp = split(/\|/, $line);
-      if (scalar(\@mtmp) >= 4)
+      if (scalar(\@mtmp) >= 3)
       {
         $weatherdata->{shift @mtmp} = \@mtmp;
       }