From 3894d4093a6c6f2f4b382140b49fa2cecdef2cb7 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Thu, 10 Apr 2025 20:14:53 +0200 Subject: [PATCH] fix(google-calendar): Use byday variable type properly Introduced via https://github.com/frappe/frappe/pull/31772 (cherry picked from commit 3829c2a1c2cedf55c036254c57b211959619468b) --- frappe/integrations/doctype/google_calendar/google_calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/integrations/doctype/google_calendar/google_calendar.py b/frappe/integrations/doctype/google_calendar/google_calendar.py index 18a56d464a..44d60d73e0 100644 --- a/frappe/integrations/doctype/google_calendar/google_calendar.py +++ b/frappe/integrations/doctype/google_calendar/google_calendar.py @@ -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"]: