do no parse empty lines in 57_Calendar.p

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6197 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert
2014-07-04 17:19:57 +00:00
parent 863ed7f89b
commit 50094dfd32
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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);