mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
do no parse empty lines in 57_Calendar.p
git-svn-id: https://svn.fhem.de/fhem/trunk@6197 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
83a12c9496
commit
1bb5d56267
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- change: do no parse empty lines in 57_Calendar.pm
|
||||
- bugfix: 10_SOMFY.pm: save enc-key and rolling-code as reading instead of attribute
|
||||
to prevent loss of control after FHEM restart.
|
||||
- feature: new module 10_SOMFY.pm to support Somfy RTS blinds
|
||||
|
@ -108,6 +108,7 @@ sub parseSub {
|
||||
$line =~ s/[\x0D]//; # chomp will not remove the CR
|
||||
#main::Debug "$ln: $line";
|
||||
$ln++;
|
||||
next if($line eq ""); # remove empty line
|
||||
last if($line =~ m/^END:.*$/);
|
||||
if($line =~ m/^BEGIN:(.*)$/) {
|
||||
my $entry= ICal::Entry->new($1);
|
||||
|
Loading…
Reference in New Issue
Block a user