filter out invalid schedule items

This commit is contained in:
Kyle Robbertze 2021-09-21 11:36:49 +02:00
parent fc02f8cafb
commit 6caa29e0c9
4 changed files with 44 additions and 23 deletions

View file

@ -54,6 +54,7 @@ class AirtimeApiClient:
data = self.services.schedule_url(
params={
"ends__range": ("{}Z,{}Z".format(str_current, str_end)),
"is_valid": True,
}
)
result = {"media": {}}