summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2022-05-13 02:03:23 -0400
committerVitiko <[email protected]>2022-05-13 02:03:23 -0400
commit9c2737c963f4666b88cc8871985945fd8dab5fed (patch)
tree63780a4589325f8b7673ed38587075f3f3f84d2f
parent4edc2b756bee5f5144be9086447aa3538802d0e8 (diff)
downloadbazarr-9c2737c963f4666b88cc8871985945fd8dab5fed.tar.gz
bazarr-9c2737c963f4666b88cc8871985945fd8dab5fed.zip
no log: type (no behavior changes at all)v1.0.5-beta.7
-rw-r--r--libs/subliminal_patch/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/subliminal_patch/core.py b/libs/subliminal_patch/core.py
index 5c7f34313..065e86134 100644
--- a/libs/subliminal_patch/core.py
+++ b/libs/subliminal_patch/core.py
@@ -134,11 +134,11 @@ class _Banlist:
class _Blacklist(list):
def is_valid(self, provider, subtitle):
- blacklisted = not (str(provider), str(subtitle.id)) in self
+ blacklisted = (str(provider), str(subtitle.id)) in self
if blacklisted:
- logger.debug("Skipping blacklisted subtitle: %s", subtitle)
+ logger.debug("Blacklisted subtitle: %s", subtitle)
- return blacklisted
+ return not blacklisted
class SZProviderPool(ProviderPool):