summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2024-11-17 23:05:14 -0500
committermorpheus65535 <[email protected]>2024-11-17 23:05:14 -0500
commit48cdc8bfc83487b2fa990a5669a0da07a71def54 (patch)
treefc047d3edbd4ee3a1cb15119589b8c779c859e62
parentd67477aded7de5948d2156e2a2e4c83897c08f81 (diff)
downloadbazarr-48cdc8bfc83487b2fa990a5669a0da07a71def54.tar.gz
bazarr-48cdc8bfc83487b2fa990a5669a0da07a71def54.zip
Fixed typos in assrt provider. #1953v1.4.6-beta.18
-rw-r--r--custom_libs/subliminal_patch/providers/assrt.py6
1 files 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