Fixed missing attribute.

This commit is contained in:
Louis Vézina 2020-06-16 07:02:16 -04:00
parent e66fb89eec
commit 8acd735fcc
1 changed files with 1 additions and 1 deletions

View File

@ -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: