From e5729ced04aa155aa6364a516b2ed51b5f3beabe Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sat, 5 Aug 2017 03:08:43 +0200 Subject: [PATCH] froscon2017: Fix signature for functions, accepted room IDs --- froscon2017/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/froscon2017/__init__.py b/froscon2017/__init__.py index 7594d43..353e7b1 100644 --- a/froscon2017/__init__.py +++ b/froscon2017/__init__.py @@ -198,10 +198,10 @@ def debug(): ) -def tasks(queue, args): +def tasks(queue, args, idlist, skiplist): # iterate over all events extracted from the schedule xml-export for event in events(scheduleUrl): - if event['room'] not in ('Saal 1', 'Saal 3', 'Saal 4', 'Saal 5', 'Saal 6', 'Saal 7', 'Saal 8'): + if event['room'] not in ('HS 1', 'HS 2', 'HS 3', 'HS 4', 'HS 5', 'HS 6', 'HS 7', 'HS 8'): print("skipping room %s (%s)" % (event['room'], event['title'])) continue