Commit de0f4aa6 authored by Ben Waters's avatar Ben Waters

fix null

parent 115a9404
...@@ -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:
pass c = CourseGroups.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