Commits

Richard Lawrence committed 7dff0a1

* schoolutils/grading/ui.py: commit db transaction in ui main_loop

Comments (0)

Files changed (1)

schoolutils/grading/ui.py

                  #self.export_grades,
                  self.exit])
 
+            # commit after successful completion of any top-level action
+            # to avoid data-loss
+            self.db_connection.commit()
+
            
     @require('db_connection', change_database,
              "A database connection is required to change the current course.")