Skip to content
Snippets Groups Projects
Commit a9f1d677 authored by Julian Rother's avatar Julian Rother
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:videoagwebsite/videoagwebsite

parents 03b27a0a 2a003aaf
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ def import_from(id): ...@@ -69,7 +69,7 @@ def import_from(id):
baserow = baserow[0] baserow = baserow[0]
rowdata = {'dates': []} rowdata = {'dates': []}
# "kein raum vergeben" ist ein Sonderfall, ansonsten die campus id # "kein raum vergeben" is a special case, else use campus id
if baserow.xpath("td[6]/text()")[0] == 'Kein Raum vergeben': if baserow.xpath("td[6]/text()")[0] == 'Kein Raum vergeben':
rowdata['place'] = '' rowdata['place'] = ''
elif baserow.xpath("td[6]/a"): elif baserow.xpath("td[6]/a"):
......
...@@ -468,7 +468,7 @@ def job_handler(*types, state='finished'): ...@@ -468,7 +468,7 @@ def job_handler(*types, state='finished'):
for jobtype in types: for jobtype in types:
if jobtype not in job_handlers: if jobtype not in job_handlers:
job_handlers[jobtype] = {} job_handlers[jobtype] = {}
if jobtype not in job_handlers[jobtype]: if state not in job_handlers[jobtype]:
job_handlers[jobtype][state] = [] job_handlers[jobtype][state] = []
job_handlers[jobtype][state].append(func) job_handlers[jobtype][state].append(func)
return func return func
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment