Commit 0103c4f6 authored by Ben Waters's avatar Ben Waters
Browse files

one last go

parent d5f7bad1
...@@ -134,7 +134,7 @@ def nextCourses(remainingReqCourses, taken): ...@@ -134,7 +134,7 @@ def nextCourses(remainingReqCourses, taken):
try: try:
c = Course.objects.get(title=course) c = Course.objects.get(title=course)
except: except:
c = CourseGroups.objects.get(title=course) c = CourseGroup.objects.get(title=course)
for prereq in c.prerequisites.all(): for prereq in c.prerequisites.all():
reqs.add(prereq) reqs.add(prereq)
#for coreq in course.coreq: #for coreq in course.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