mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 17:13:35 +08:00
Fixed failed upload #1429
This commit is contained in:
parent
23ede4e7f9
commit
90ba573ebe
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue