Skip to content
Snippets Groups Projects
Commit 8bb6c632 authored by Andreas Beckmann's avatar Andreas Beckmann
Browse files

fix 'Choice' column

parent 023d3eba
No related branches found
No related tags found
No related merge requests found
......@@ -672,7 +672,7 @@ for fldName in ['Choice 1', 'Choice 2', 'Choice 3']:
initData = {'name': projName, 'students': [], 'selected_student': {}}
project_data.update({projID: initData})
project_data[projID]['students'].append({'id': id, 'choice': fldName.split(" ")[0]})
project_data[projID]['students'].append({'id': id, 'choice': fldName.split(" ")[1]})
for id in user_data:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment