Commit 5d2e0499 authored by Vilem Ded's avatar Vilem Ded
Browse files

fix - cohort contacts are now built correctly

parent 302af819
...@@ -81,7 +81,7 @@ class DishXlsExporter: ...@@ -81,7 +81,7 @@ class DishXlsExporter:
} }
if sheet[12, 1] and sheet[15, 1]: if sheet[12, 1] and sheet[15, 1]:
cohort_dict["contacts"] = cohort_dict["contacts"].append({"first_name": get_names_from_string(sheet[12,1])[0], cohort_dict["contacts"].append({"first_name": get_names_from_string(sheet[12,1])[0],
"last_name": get_names_from_string(sheet[12,1])[1], "last_name": get_names_from_string(sheet[12,1])[1],
"role": sheet[15,1], "role": sheet[15,1],
"email":sheet[13,1], "email":sheet[13,1],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment