2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

98_dummy.pm: allow Newline in setList definition (Forum #61742)

git-svn-id: https://svn.fhem.de/fhem/trunk@12700 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-12-02 16:49:42 +00:00
parent 62a69400e8
commit c8a9f2e107

View File

@ -27,6 +27,7 @@ dummy_Set($@)
return "no set value specified" if(int(@a) < 1);
my $setList = AttrVal($name, "setList", " ");
$setList =~ s/\n/ /g;
if(AttrVal($name,"useSetExtensions",undef)) {
my $a0 = $a[0]; $a0 =~ s/([.?*])/\\$1/g;