Fixed failed upload #1429

pull/1437/head v0.9.6-beta.20
morpheus65535 3 years ago
parent 23ede4e7f9
commit 90ba573ebe

@ -645,7 +645,7 @@ def manual_upload_subtitle(path, language, forced, title, scene_name, media_type
language = alpha3_from_alpha2(language) language = alpha3_from_alpha2(language)
custom = Language.from_value(language) custom = CustomLanguage.from_value(language, "alpha3")
if custom is None: if custom is None:
lang_obj = Language(language) lang_obj = Language(language)
else: else:

Loading…
Cancel
Save