Browse Source

any live event in window

master
beadsland 1 month ago
parent
commit
a231d26b48
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      jobs/brico/events/__init__.py

+ 1
- 2
jobs/brico/events/__init__.py View File

@@ -84,8 +84,7 @@ def livemusic():

for b in brico.events.load_cals( ["brite.json"] ):
bstart = dateutil.parser.parse(b['start'])
if ("Friday Night Live" in b['event'] or "Friday Nights Live" in b['event']) \
and (bstart == start7 or bstart == start8):
if "Live" in b['event'] and (bstart >= start7 or bstart <= start8):
return []

return [{ "start": start8.isoformat(), "event": noisy("Friday Night Live Music"),

Loading…
Cancel
Save