diff options
-rw-r--r-- | bazarr/get_subtitle.py | 2 |
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: |