From ea4557ff701e9295e0b102817c2f5c0b87b06af0 Mon Sep 17 00:00:00 2001 From: aarif Date: Mon, 14 Oct 2019 17:28:47 +0500 Subject: [PATCH] removed unnecesary transcript decode --- common/lib/xmodule/xmodule/video_module/transcripts_utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/video_module/transcripts_utils.py b/common/lib/xmodule/xmodule/video_module/transcripts_utils.py index addf73a08f..a293595819 100644 --- a/common/lib/xmodule/xmodule/video_module/transcripts_utils.py +++ b/common/lib/xmodule/xmodule/video_module/transcripts_utils.py @@ -579,8 +579,6 @@ def get_video_transcript_content(edx_video_id, language_code): edx_video_id = clean_video_id(edx_video_id) if edxval_api and edx_video_id: transcript = edxval_api.get_video_transcript_data(edx_video_id, language_code) - if transcript and 'content' in transcript: - transcript['content'] = transcript['content'].decode('utf-8') return transcript