mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_logProxy.pm: allow %L in logProxy_xyFile2Plot file name (by boris)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13331 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
75a0439022
commit
32529d1dc9
@ -728,6 +728,8 @@ logProxy_xyFile2Plot($$$)
|
||||
my ($filename, $column, $regex)= @_;
|
||||
my @array;
|
||||
|
||||
$filename =~ s/%L/$attr{global}{logdir}/g
|
||||
if($filename =~ m/%L/ && $attr{global}{logdir});
|
||||
if (open(F, "<$filename")) {
|
||||
while(<F>) {
|
||||
chomp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user