530
530
# If the user has already saved some text for this problem, or submitted
531
531
# an attempt, then use that text instead of the supplied "partial".
539
534
# Also get the number of attempts taken and whether this is complete.
540
535
complete, attempts = ivle.worksheet.get_exercise_status(req.store,
542
537
if saved_text is not None:
547
540
# Print this exercise out to HTML
548
541
req.write("<p><b>Exercise:</b> %s</p>\n" % cgi.escape(exercisename))