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:
parent
6c4a392c4e
commit
bfaf82b44c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user