Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ical.py doesn't parse events without "description" field #119

Closed
dhomeier opened this issue May 30, 2024 · 1 comment · Fixed by #122
Closed

ical.py doesn't parse events without "description" field #119

dhomeier opened this issue May 30, 2024 · 1 comment · Fixed by #122
Labels
bug Something isn't working

Comments

@dhomeier
Copy link
Contributor

I found that some events do not have a "description" element, raising a KeyError in ical.py.
Since the ical description seems to accept a None value, simplest fix would be to use instead

    e.description = event.get("description")
@elliot-100 elliot-100 added the bug Something isn't working label May 31, 2024
@elliot-100
Copy link
Collaborator

Thanks for pointing this out @dhomeier .

Would you like to raise a PR to fix?

@elliot-100 elliot-100 changed the title Parse events without "description" field ical.py doesn't parse events without "description" field Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants