Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vobject/icalendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1920,6 +1920,8 @@ def error(msg):
sec = 0
elif char == "eof":
state = "end"
if not current:
second = '0'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand how this change relates to the commit message. Esp. why are only th seconds set to zero?

Please either change the commit message or add a comment. Thx

else:
state = "error"
error("got unexpected character reading in duration: " + s)
Expand Down