[13] fix has_tmdb for .not filters

pull/1384/head
meisnate12 2 years ago
parent 1110f536a6
commit 1693ef8e91

@ -1 +1 @@
1.19.0-develop12 1.19.0-develop13

@ -1790,8 +1790,8 @@ class CollectionBuilder:
logger.error(message) logger.error(message)
if current_filters: if current_filters:
self.filters.append(current_filters) self.filters.append(current_filters)
self.has_tmdb_filters = any([k in tmdb_filters for f in self.filters for k, v in f]) self.has_tmdb_filters = any([str(k).split(".")[0] in tmdb_filters for f in self.filters for k, v in f])
self.has_imdb_filters = any([k in imdb_filters for f in self.filters for k, v in f]) self.has_imdb_filters = any([str(k).split(".")[0] in imdb_filters for f in self.filters for k, v in f])
def gather_ids(self, method, value): def gather_ids(self, method, value):
expired = None expired = None

Loading…
Cancel
Save