mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +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:
parent
76934d61af
commit
8ea6ae5b71
@ -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); }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user