no log: type (no behavior changes at all)

This commit is contained in:
Vitiko 2022-05-13 02:03:23 -04:00
parent 4edc2b756b
commit 9c2737c963
1 changed files with 3 additions and 3 deletions

View File

@ -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):