2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

DarkSkyAPI: little code change

git-svn-id: https://svn.fhem.de/fhem/trunk@18749 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2019-02-27 07:25:33 +00:00
parent 76934d61af
commit 8ea6ae5b71

View File

@ -168,7 +168,7 @@ sub _RetrieveDataFromDarkSky($) {
. $self->{lang}
. '&units=auto';
if ( $self->{key} eq 'demo' )
if ( lc($self->{key}) eq 'demo' )
{ _RetrieveDataFinished($paramRef,undef,DEMODATA); }
else { main::HttpUtils_NonblockingGet($paramRef); }
}