From eab4a7f960de4dffd01ee16c23973eb9e8082aa8 Mon Sep 17 00:00:00 2001 From: dietmar63 Date: Mon, 12 Sep 2016 22:01:24 +0000 Subject: [PATCH] 59_Twilight: second try: constat URL changed in $URL to fix problem: https://forum.fhem.de/index.php/topic,55583.msg489421.html#msg489421 git-svn-id: https://svn.fhem.de/fhem/trunk@12153 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/59_Twilight.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/59_Twilight.pm b/fhem/FHEM/59_Twilight.pm index 78323cc30..de7fbadbd 100644 --- a/fhem/FHEM/59_Twilight.pm +++ b/fhem/FHEM/59_Twilight.pm @@ -378,7 +378,7 @@ sub Twilight_CreateHttpParameterAndGetData($$) { my $location = $hash->{WEATHER}; my $verbose = AttrVal($hash->{NAME}, "verbose", 3 ); - my $URL => "http://query.yahooapis.com/v1/public/yql?q=select%%20*%%20from%%20weather.forecast%%20where%%20woeid=%s%%20and%%20u=%%27c%%27&format=%s&env=store%%3A%%2F%%2Fdatatables.org%%2Falltableswithkeys"; + my $URL = "http://query.yahooapis.com/v1/public/yql?q=select%%20*%%20from%%20weather.forecast%%20where%%20woeid=%s%%20and%%20u=%%27c%%27&format=%s&env=store%%3A%%2F%%2Fdatatables.org%%2Falltableswithkeys"; my $url = sprintf($URL, $location, "json"); Log3 $hash, 4, "[$hash->{NAME}] url=$url";