Skip to content
Snippets Groups Projects
Commit b1f7f977 authored by wonko's avatar wonko
Browse files

fixed json incompatibility

parent 90703f2c
Branches
No related tags found
No related merge requests found
......@@ -62,14 +62,17 @@ for room in rooms:
teaser = cval(ws.cell(row=row + 3, col=col))
if teaser:
lecture['teaser'] = teaser
aufz = cval(ws.cell(row=row + 3, col=col))
aufz = cval(ws.cell(row=row + 4, col=col))
if aufz:
lecture['aufz'] = aufz
if aufz.lower() == "ja":
lecture['aufz'] = True
if len(lecture) > 0:
lecture['time'] = time.value
lecture['room'] = room.value
lecture['id'] = titel
timeslot['lecture'] = lecture
timeslots.append(timeslot)
roomdata['times'] = timeslots
data.append(roomdata)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment