fix return to blockingDone

This commit is contained in:
Marko Oldenburg 2017-01-24 10:53:14 +01:00
parent 8bbd9cb390
commit 54c6dd62eb

View File

@ -35,7 +35,7 @@ use POSIX;
use JSON;
use Blocking;
my $version = "0.6.0";
my $version = "0.6.2";
@ -287,7 +287,7 @@ sub XiaomiFlowerSens_BlockingRun($) {
Log3 $name, 4, "Sub XiaomiFlowerSens_BlockingRun ($name) - Processing response data: $sensData";
return "$name|$sensData" # if error in stdout the error will given to $lux variable
return "$name|chomp($sensData)" # if error in stdout the error will given to $sensData variable
unless( defined($batFwData) );