From fd679e1dac959540ce030a767d00a1432dbead93 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 31 Aug 2026 01:06:15 -0400 Subject: [PATCH] refac --- backend/open_webui/utils/automations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/utils/automations.py b/backend/open_webui/utils/automations.py index 3ff9910e22..d4c62b58d6 100644 --- a/backend/open_webui/utils/automations.py +++ b/backend/open_webui/utils/automations.py @@ -185,6 +185,7 @@ def rrule_interval_seconds(s: str) -> Optional[int]: """ if 'COUNT=1' in s: return None + s = '\n'.join(line for line in s.splitlines() if not line.upper().startswith('DTSTART')) or s now = datetime.now() rule = _parse_rule(s, now) first = rule.after(now)