jazzband / icalevents

Python module for iCal URL/file parsing and querying.
MIT License
157 stars 72 forks source link

Parsing events crashes on certain files on categories #125

Open jindra12 opened 1 year ago

jindra12 commented 1 year ago

Hello everyone!

When parsing events on files such as basic.ics.zip, parser crashes since icalendar parses categories as an array and your package expects them to be an object with property "cats" on it. The problem line is in file icalparser.py, 228. Would appreciate some hints on how to fix this, we are using this package uncommitted, so applying patches can be difficult.

Thank you for this package!