Fix conditional

pull/351/head
James Hu 3 years ago
parent d4e6b1ae2d
commit 0d539e10c1

@ -1405,7 +1405,7 @@ class CollectionBuilder:
return False return False
if not self.check_tmdb_filter(t_id, current.ratingKey in self.library.movie_rating_key_map): if not self.check_tmdb_filter(t_id, current.ratingKey in self.library.movie_rating_key_map):
return False return False
if filter_attr in ["release", "added", "last_played"]: elif filter_attr in ["release", "added", "last_played"]:
if not util.date_filter(getattr(current, filter_actual), modifier, filter_data, filter_final, self.current_time): if not util.date_filter(getattr(current, filter_actual), modifier, filter_data, filter_final, self.current_time):
return False return False
elif filter_attr == "audio_track_title": elif filter_attr == "audio_track_title":

Loading…
Cancel
Save