diff --git a/website/package_problems.py b/website/package_problems.py index b19cbdb..6abd55c 100644 --- a/website/package_problems.py +++ b/website/package_problems.py @@ -17,7 +17,7 @@ def problem_answer_pairings(asgt): solution_file = open("SOLUTIONS" + "-" + a_n + "-" + name, 'a') print(r"\begin{solution}", file=solution_file) - print(asgt.problems[i].solution) + print(asgt.problems[i].solution, file=solution_file) print(r"\end{solution}", file=solution_file) problem_pairings.append(problem_file, solution_file) diff --git a/website/templates/grader.html b/website/templates/grader.html index 05fe1c2..1c5b34b 100644 --- a/website/templates/grader.html +++ b/website/templates/grader.html @@ -4,59 +4,60 @@ {% block content %} -{% for assignment in assignments %} -