MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / cleaned_days

Method cleaned_days

apps/channels/models.py:1176–1180  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1174 return f"Recurring rule for {channel_name}"
1175
1176 def cleaned_days(self):
1177 try:
1178 return sorted({int(d) for d in (self.days_of_week or []) if 0 <= int(d) <= 6})
1179 except Exception:
1180 return []

Callers 1

sync_recurring_rule_implFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected