From 48cdc8bfc83487b2fa990a5669a0da07a71def54 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 17 Nov 2024 23:05:14 -0500 Subject: [PATCH] Fixed typos in assrt provider. #1953 --- custom_libs/subliminal_patch/providers/assrt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_libs/subliminal_patch/providers/assrt.py b/custom_libs/subliminal_patch/providers/assrt.py index 8058c57cb..a30265a44 100644 --- a/custom_libs/subliminal_patch/providers/assrt.py +++ b/custom_libs/subliminal_patch/providers/assrt.py @@ -11,7 +11,7 @@ from time import sleep from math import ceil from subliminal import Movie, Episode -from subliminal.exceptions import AuthenticationError, ConfigurationError, DownloadLimitExceeded, ProviderError +from subliminal.exceptions import ConfigurationError, ProviderError from subliminal_patch.subtitle import Subtitle, guess_matches from subliminal.subtitle import fix_line_ending from subliminal_patch.providers import Provider @@ -104,7 +104,7 @@ class AssrtSubtitle(Subtitle): if 'subtitle_language' in guess: langs.update(guess['subtitle_language']) if self.language in langs: - self._defail = f + self._detail = f return f # second pass: keyword matching @@ -112,7 +112,7 @@ class AssrtSubtitle(Subtitle): for f in files: langs = set([Language.fromassrt(k) for k in codes if k in f['f']]) if self.language in langs: - self._defail = f + self._detail = f return f # fallback: pick up first file if nothing matches