From 16e3d1135494bc4665d7b97fad0b2a47cd768f15 Mon Sep 17 00:00:00 2001 From: muhammad-ammar Date: Wed, 9 May 2018 18:10:09 +0500 Subject: [PATCH] download correct transcript content file EDUCATOR-2857 --- common/lib/xmodule/xmodule/video_module/video_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/video_module/video_handlers.py b/common/lib/xmodule/xmodule/video_module/video_handlers.py index 19b17f2dd9..dca0a5d105 100644 --- a/common/lib/xmodule/xmodule/video_module/video_handlers.py +++ b/common/lib/xmodule/xmodule/video_module/video_handlers.py @@ -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)