Closed jchase closed 2 years ago
@jchase Woah, good catch, and thank you for the detailed report! I have fixed this on a separate branch and will release this next week (once I've tested it against my own calendar data). 🙂
@jchase Testing has gone well, so I have just released v3.0.1 with your proposed fix! Please install it below, and let me know if you run into any further issues: https://github.com/caleb531/open-conference-url/releases/tag/v3.0.1
I had an issue where this workflow was crashing with the debugger returning:
It took me a while to figure out that "notes: Garbage" was actually an item on my calendar (it's a public works calendar I'm subscribed to for our town and "Garbage" / "Recycling" are the items it generates).
Apparently, the name of the event (Garbage) is also in the notes field as well (Garbage) and so on line 39 of event.py, it tries to match the date of a string that looks like this:
What worked for me was changing (on lines 39 & 45 of event.py - although haven't tested 45 for all day events)
to:
Which checks for any newlines (and content that comes after it), lop it off, and only work on the first line. Not sure if there's a better way to do it but it's working great now.