From 8acd735fcc5b5569f5bdbcead45819dfd5e49e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Tue, 16 Jun 2020 07:02:16 -0400 Subject: [PATCH] Fixed missing attribute. --- bazarr/subsyncer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/subsyncer.py b/bazarr/subsyncer.py index f6ad6f7f9..f6cfbebc6 100644 --- a/bazarr/subsyncer.py +++ b/bazarr/subsyncer.py @@ -68,7 +68,7 @@ class SubSyncer: if 'language' in audio_track: language = audio_track['language'].alpha3 if language == srt_lang: - using_what = "{0} audio track".format(audio_track['language'].name) + using_what = "{0} audio track".format(language_from_alpha3(audio_track['language'].alpha3)) self.reference_stream = "a:{}".format(i) break if not self.reference_stream: