fixed: prototype mismatch error (I hope…)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3541 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2013-07-29 20:07:24 +00:00
parent 452c7d0612
commit e7b276d56d

View File

@ -334,7 +334,9 @@ UpdateReadings($$$){
$jsonWeather = $json->decode($response);
} catch {
Log $loglevel, "openweather $name error: JSPON decode";
return;
return undef;
} finally {
return undef;
};
readingsBeginUpdate($hash);