~bronikowski/elevencal

7168b97f19c1d904d8563316a80e5e4842d79e26 — Emil Oppeln-Bronikowski 2 months ago 0fb7a71 master
Formula filters
1 files changed, 2 insertions(+), 0 deletions(-)

M filters.py
M filters.py => filters.py +2 -0
@@ 6,6 6,8 @@ def filter_football(event):
def filter_f1(event):
    if '#ELEVENF1' in event['genre']:
        return True
    if 'formula' in [w.lower() for w in event['genre'].split()]:
        return True
    return False

def filter_live(event):