Commits

Richard Lawrence committed 4d1cce5

* schoolutils/grading/ui.py: BUGFIX: full_name not present in edited dictionaries

Comments (0)

Files changed (1)

schoolutils/grading/ui.py

                                    deleter=lambda s: None)
 
         for s in students:
-            s.pop('full_name') # name should now be properly split into last/first
+            if 'full_name' in s:
+                s.pop('full_name') # name should now be properly split 
             try:
                 s['student_id'] = db.get_student_id(self.db_connection,
                                                     sid=s['sid'],