Fix uppercase typo on brazilian_portuguese

We are comparing the lowercase of the vector, so all the parameters should be lowecase.
This commit is contained in:
cetiberiojr 2021-02-19 16:35:52 -03:00 committed by GitHub
parent 7d836749e1
commit 7432e07089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class EmbeddedSubsReader:
data = api.know(file)
traditional_chinese = ["cht", "tc", "traditional", "zht", "hant", "big5", u"", u"雙語"]
brazilian_portuguese = ["pt-br", "pob", "pb", "Brazilian", "Brasil"]
brazilian_portuguese = ["pt-br", "pob", "pb", "brazilian", "brasil"]
if 'subtitle' in data:
for detected_language in data['subtitle']: