eh17 implemented new interface to build only single event ids
This commit is contained in:
parent
2abe284dc4
commit
5b465fc3d5
1 changed files with 7 additions and 1 deletions
|
@ -263,10 +263,16 @@ def debug():
|
||||||
def tasks(queue, args, idlist, skiplist):
|
def tasks(queue, args, idlist, skiplist):
|
||||||
# iterate over all events extracted from the schedule xml-export
|
# iterate over all events extracted from the schedule xml-export
|
||||||
for event in events(scheduleUrl):
|
for event in events(scheduleUrl):
|
||||||
|
if 000000 in idlist:
|
||||||
|
continue
|
||||||
if event['room'] not in ('Vortragssaal', 'Großes Kolleg'):
|
if event['room'] not in ('Vortragssaal', 'Großes Kolleg'):
|
||||||
print("skipping room %s (%s)" % (event['room'], event['title']))
|
print("skipping room %s (%s)" % (event['room'], event['title']))
|
||||||
continue
|
continue
|
||||||
|
if not (idlist==None):
|
||||||
|
if int(event['id']) not in idlist:
|
||||||
|
print("skipping id %s (%s)" % (event['id'], event['title']))
|
||||||
|
continue
|
||||||
|
|
||||||
# generate a task description and put them into the queue
|
# generate a task description and put them into the queue
|
||||||
queue.put(Rendertask(
|
queue.put(Rendertask(
|
||||||
infile='intro.svg',
|
infile='intro.svg',
|
||||||
|
|
Loading…
Add table
Reference in a new issue