MA-187 ValueError fix

Fix for MA-187 where a value error was thrown when
a course has a video directly under a section. This
PR handles the situations where a chapter or section
can be none, and then returns the appropriate url
if available.
This commit is contained in:
christopher lee
2014-12-23 16:00:14 -05:00
parent 8dd7b78065
commit 3e5f7bacdd
3 changed files with 228 additions and 37 deletions

View File

@@ -16,4 +16,4 @@
</vertical>
</sequential>
</chapter>
</course>
</course>