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)