changed 59_Weather to use logical icon names for local weather icons

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1807 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2012-08-18 16:19:17 +00:00
parent b72a2e5998
commit 8b43905dab

View File

@@ -332,9 +332,9 @@ WeatherIconIMGTag($$$) {
$icon =~ s,^/ig/images/weather/(.*)\.gif$,$1,;
if($isday) {
$icon= "weather/${icon}.png"
$icon= "weather/${icon}"
} else {
$icon= "weather/${icon}_night.png"
$icon= "weather/${icon}_night"
}
$url= "fhem/icons/$icon";