little code changing
This commit is contained in:
parent
ea397cf971
commit
3a7303a679
@ -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