diff --git a/bazarr/languages/custom_lang.py b/bazarr/languages/custom_lang.py index 64be33b6a..c97ae665f 100644 --- a/bazarr/languages/custom_lang.py +++ b/bazarr/languages/custom_lang.py @@ -67,7 +67,6 @@ class CustomLanguage: @classmethod def get_alpha_type(cls, subtitle: str, subtitle_path=None): - assert subtitle_path is not None extension = str(os.path.splitext(subtitle)[0]).lower() to_return = None