download correct transcript content file

EDUCATOR-2857
This commit is contained in:
muhammad-ammar
2018-05-09 18:10:09 +05:00
parent 879ba582cc
commit 16e3d11354

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)