- Timestamp:
- 17 Nov 2016, 14:34:31 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r14284 r14285 3132 3132 return result 3133 3133 3134 def _update_scores(self, form , editable_tickets):3134 def _update_scores(self, form): 3135 3135 ob_class = self.__implemented__.__name__.replace('waeup.kofa.', '') 3136 3136 error = '' … … 3150 3150 else: 3151 3151 formvals = dict(zip(form['sids'], form['scores'])) 3152 for ticket in editable_tickets:3152 for ticket in self.editable_tickets: 3153 3153 score = ticket.score 3154 3154 sid = ticket.student.student_id … … 3201 3201 if not self.editable_tickets: 3202 3202 return 3203 success = self._update_scores(form , self.editable_tickets)3203 success = self._update_scores(form) 3204 3204 if success: 3205 3205 self.flash(_('You successfully updated course results.'))
Note: See TracChangeset for help on using the changeset viewer.