- full_names[student_no] = f"{row['FirstName']} {row['LastName']}"
-## print("Registered:", registered_students)
+ full_names[student_no] = f"{row[config['roster_firstname_rowname']]} {row[config['roster_lastname_rowname']]}"
+# print("Registered:", registered_students) # useful for debug
+
+# get pronouns
+with open(config["student_info_file"], 'r') as f:
+ preferred_pronouns = {}
+ for row in DictReader(f, delimiter="\t"):
+ preferred_pronouns[row[config["unique_name_rowname"]]] = row["Preferred pronouns"]
+# print(preferred_pronouns)