fix(google-calendar): Use byday variable type properly

Introduced via https://github.com/frappe/frappe/pull/31772

(cherry picked from commit 3829c2a1c2cedf55c036254c57b211959619468b)
This commit is contained in:
Gavin D'souza 2025-04-10 20:14:53 +02:00
parent 4bc19078bb
commit 3894d4093a
No known key found for this signature in database
GPG key ID: 5413A43FBD450A34

View file

@ -656,7 +656,7 @@ def google_calendar_to_repeat_on(*, start, end, recurrence=None):
repeat_on[google_calendar_days[repeat_day]] = 1
if byday and repeat_on["repeat_on"] == "Monthly":
byday = byday.split("=")[1]
byday = byday[0]
repeat_day_week_number, repeat_day_name = None, None
for num in ["-2", "-1", "1", "2", "3", "4", "5"]: