mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 05:51:10 +00:00
no log: type (no behavior changes at all)
This commit is contained in:
parent
4edc2b756b
commit
9c2737c963
1 changed files with 3 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue