summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-06-07 20:13:25 -0400
committermorpheus65535 <[email protected]>2021-06-07 20:13:25 -0400
commit90ba573ebe9f3660a0aa61f81a0a885df5468213 (patch)
tree058ce76df19dae248fdb56321a831889c2b34248
parent23ede4e7f9a69c6cc6f8545d90789457eb0d6c9a (diff)
downloadbazarr-90ba573ebe9f3660a0aa61f81a0a885df5468213.tar.gz
bazarr-90ba573ebe9f3660a0aa61f81a0a885df5468213.zip
Fixed failed upload #1429v0.9.6-beta.20
-rw-r--r--bazarr/get_subtitle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py
index 70d76dc50..f4c647552 100644
--- a/bazarr/get_subtitle.py
+++ b/bazarr/get_subtitle.py
@@ -645,7 +645,7 @@ def manual_upload_subtitle(path, language, forced, title, scene_name, media_type
language = alpha3_from_alpha2(language)
- custom = Language.from_value(language)
+ custom = CustomLanguage.from_value(language, "alpha3")
if custom is None:
lang_obj = Language(language)
else: