mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
98_SVG.pm: allow commands separated with ; in FileLog expression.
git-svn-id: https://svn.fhem.de/fhem/trunk@8882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
889c6161a4
commit
4a90c605d6
@ -1002,7 +1002,7 @@ SVG_doShowLog($$$$;$)
|
||||
my $oll = $attr{global}{verbose};
|
||||
$attr{global}{verbose} = 0; # Else the filenames will be Log'ged
|
||||
my @path = split(" ",
|
||||
FW_fC("get $d $file $tmpfile $f $t $srcDesc->{all}"));
|
||||
FW_fC("get $d $file $tmpfile $f $t $srcDesc->{all}", 1));
|
||||
$attr{global}{verbose} = $oll;
|
||||
|
||||
# replace the path with the temporary filenames of the filelog output
|
||||
@ -1029,7 +1029,7 @@ SVG_doShowLog($$$$;$)
|
||||
my $oll = $attr{global}{verbose};
|
||||
$attr{global}{verbose} = 0; # Else the filenames will be Log'ged
|
||||
my @path = split(" ",
|
||||
FW_fC("get $d $file $tmpfile $f $t $srcDesc->{all}"));
|
||||
FW_fC("get $d $file $tmpfile $f $t $srcDesc->{all}", 1));
|
||||
$attr{global}{verbose} = $oll;
|
||||
|
||||
# replace the path with the temporary filenames of the filelog output
|
||||
@ -1112,7 +1112,7 @@ SVG_getData($$$$$)
|
||||
my $s = $srcDesc->{src}{$src};
|
||||
my $fname = ($src eq $defs{$d}{LOGDEVICE} ? $defs{$d}{LOGFILE} : "CURRENT");
|
||||
my $cmd = "get $src $fname INT $f $t ".$s->{arg};
|
||||
FW_fC($cmd);
|
||||
FW_fC($cmd, 1);
|
||||
if($showData) {
|
||||
$ret .= "\n$cmd\n\n";
|
||||
$ret .= $$internal_data if(ref $internal_data eq "SCALAR");
|
||||
|
Loading…
x
Reference in New Issue
Block a user