mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
10_MQTT2_DEVICE.pm: ignore space-only lines in setList (Forum #140423)
git-svn-id: https://svn.fhem.de/fhem/trunk@29528 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
306f487104
commit
21e7ee84f0
@ -321,7 +321,7 @@ MQTT2_getCmdHash($$)
|
||||
$k =~ s/:.*//; # potential arguments
|
||||
$h{$k} = $v;
|
||||
}
|
||||
grep /./,
|
||||
grep /[^ ]+/,
|
||||
split("\n", $list);
|
||||
return (\%h, join(" ",@cmd));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user