add courses to programs to cache

This commit is contained in:
Emma Green
2019-01-29 10:46:35 -05:00
parent f90be0031f
commit f2139bbe2f
15 changed files with 345 additions and 46 deletions

View File

@@ -109,7 +109,7 @@ class ProgramProgressMeter(object):
self.course_grade_factory = CourseGradeFactory()
if uuid:
self.programs = [get_programs(self.site, uuid=uuid)]
self.programs = [get_programs(uuid=uuid)]
else:
self.programs = attach_program_detail_url(get_programs(self.site), self.mobile_only)