mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 01:46:08 +00:00
Save: convert ; to ;; for attr too
git-svn-id: https://svn.fhem.de/fhem/trunk@1378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4b511c3538
commit
146ffb8954
@ -1092,7 +1092,9 @@ CommandSave($$)
|
||||
foreach my $a (sort keys %{$attr{$d}}) {
|
||||
next if($d eq "global" &&
|
||||
($a eq "configfile" || $a eq "version"));
|
||||
print $fh "attr $d $a $attr{$d}{$a}\n";
|
||||
my $val = $attr{$d}{$a};
|
||||
$val =~ s/;/;;/g;
|
||||
print $fh "attr $d $a $val\n";
|
||||
}
|
||||
}
|
||||
print SFH "include $attr{global}{lastinclude}\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user