summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcetiberiojr <[email protected]>2021-02-19 16:35:52 -0300
committerGitHub <[email protected]>2021-02-19 16:35:52 -0300
commit7432e07089a4a73a59a84124e0ddf1eeee12eed2 (patch)
tree9e8d113d827a39ab4215a4fd93aa91cb72f69ace
parent7d836749e164c5a20eb1c83376a112b7ac27f4df (diff)
downloadbazarr-7432e07089a4a73a59a84124e0ddf1eeee12eed2.tar.gz
bazarr-7432e07089a4a73a59a84124e0ddf1eeee12eed2.zip
Fix uppercase typo on brazilian_portuguese
We are comparing the lowercase of the vector, so all the parameters should be lowecase.
-rw-r--r--bazarr/embedded_subs_reader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/embedded_subs_reader.py b/bazarr/embedded_subs_reader.py
index 173c71694..ee5b3b278 100644
--- a/bazarr/embedded_subs_reader.py
+++ b/bazarr/embedded_subs_reader.py
@@ -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']: