Commit 1e392c5a authored by Ben Waters's avatar Ben Waters

is creffett the savior

parent e2872e4c
......@@ -131,7 +131,8 @@ def nextCourses(remainingReqCourses, taken):
nextcourses = []
for course in remainingReqCourses:
reqs = set()
for prereq in course.prerequisites:
c = Course.get(title=course)
for prereq in c.prerequisites:
reqs.add(prereq)
#for coreq in course.coreq:
# reqs.add(coreq)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment