Sync error empty fields.
Hi,
could you add checks to sync.py to prevent sync errors caused by empty fields? I'm running into them one after another—first with the description, then empty workouts, etc.
"In your sync.py script (specifically at line 4681), the description field of a calendar event from Intervals.icu is being processed. It appears that one of the planned events has no description (the field is null/None). While the code uses .get("description", ""), this still returns None if the key exists but the value is null. Since NoneType has no .strip() attribute, the script crashes.
Suggested fix for line 4681: elif (evt.get("description") or "").strip():"
I belive there are other fields without checks.
Thx
fixed, please update sync.py and auto-sync.yml
Thank you!