HMInfo:cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk@11500 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2016-05-22 17:59:41 +00:00
parent a03e111b47
commit d3b5311800

View File

@@ -2216,9 +2216,10 @@ sub HMinfo_templateDef(@){#####################################################
$cnt++;
last if ($desc =~ m/"$/);
}
$desc =~ s/"//g;
splice @regs,0,$cnt;
}
$desc =~ s/"//g;#reduce " to a single pair
# $desc = "\"".$desc."\"";
return "insufficient parameter, regs missing" if(@regs < 1);