662
662
if updated_database and exercise_list is not None:
663
663
# Insert each exercise into the worksheet
674
665
# Get the Exercise from the DB
676
666
exercise = ivle.database.Exercise.get_by_name(store,exercise_name)
677
667
# Create a new binding between the worksheet and the exercise
678
668
worksheetexercise = ivle.database.WorksheetExercise(