Fix uppercase typo on brazilian_portuguese

We are comparing the lowercase of the vector, so all the parameters should be lowecase.
pull/1287/head
cetiberiojr 4 years ago committed by GitHub
parent 7d836749e1
commit 7432e07089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save