2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

98_SVG.pm: plotReplace fix

git-svn-id: https://svn.fhem.de/fhem/trunk@13831 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-03-28 08:02:30 +00:00
parent 6c4a392c4e
commit bfaf82b44c

View File

@ -764,7 +764,7 @@ SVG_readgplotfile($$$)
prSubst($)
{
my $v = $pr->{$_[0]};
return $_[0] if(!$v);
return "%$_[0]%" if(!$v);
if($v =~ m/^{.*}$/) {
$cmdFromAnalyze = $v;
return eval $v;
@ -878,7 +878,6 @@ SVG_substcfg($$$$$$)
}
}
$plot =~ s/\r//g; # For our windows friends...
$gplot_script =~ s/\r//g;