little code changing

This commit is contained in:
Marko Oldenburg 2019-02-27 08:23:28 +01:00
parent ea397cf971
commit 3a7303a679

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); }
}