Skip to content

Commit

Permalink
fix: revert unnecessary line deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinAoki committed Oct 31, 2024
1 parent 6801257 commit 4007cab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmodule/video_block/video_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ def get_transcripts_for_student(self, transcripts, dest_lang=None):
track_url = self.track
elif sub or other_lang:
track_url = self.runtime.handler_url(self, 'transcript', 'download').rstrip('/?')

transcript_language = self.get_default_transcript_language(transcripts, dest_lang)
native_languages = {lang: label for lang, label in settings.LANGUAGES if len(lang) == 2}
languages = {
Expand Down

0 comments on commit 4007cab

Please sign in to comment.