Ticket #5015: mweather-bbccurrent-temp.patch
| File mweather-bbccurrent-temp.patch, 548 bytes (added by , 18 years ago) |
|---|
-
mythweather/mythweather/scripts/uk_bbc/bbccurrentxml.pl
178 178 $datavalue =~ s/^.*?\((-?\d{1,2}).*/$1/; 179 179 } 180 180 elsif ($units =~ /SI/) { 181 $datavalue =~ s/^ -?(\d{1,2}).*/$1/;181 $datavalue =~ s/^(-?\d{1,2}).*/$1/; 182 182 } 183 183 $datalabel = "temp"; 184 184 }
