Merge pull request #18161 from edx/ammar/EDUCATOR-2857

download correct transcript content file
This commit is contained in:
Muhammad Ammar
2018-05-09 19:38:12 +05:00
committed by GitHub

View File

@@ -348,7 +348,7 @@ class VideoStudentViewHandlers(object):
lang = request.GET.get('lang', None)
try:
content, filename, mimetype = get_transcript(self, lang)
content, filename, mimetype = get_transcript(self, lang, output_format=self.transcript_download_format)
except NotFoundError:
return Response(status=404)