diff options
author | Vitiko <[email protected]> | 2022-05-13 02:03:23 -0400 |
---|---|---|
committer | Vitiko <[email protected]> | 2022-05-13 02:03:23 -0400 |
commit | 9c2737c963f4666b88cc8871985945fd8dab5fed (patch) | |
tree | 63780a4589325f8b7673ed38587075f3f3f84d2f /libs | |
parent | 4edc2b756bee5f5144be9086447aa3538802d0e8 (diff) | |
download | bazarr-9c2737c963f4666b88cc8871985945fd8dab5fed.tar.gz bazarr-9c2737c963f4666b88cc8871985945fd8dab5fed.zip |
no log: type (no behavior changes at all)v1.0.5-beta.7
Diffstat (limited to 'libs')
-rw-r--r-- | libs/subliminal_patch/core.py | 6 |
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): |