From a79056b92a2da5d2d84a93cc5f67fd1f11a70395 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 22 Jan 2022 19:47:29 -0500 Subject: [PATCH] fix date error --- modules/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/builder.py b/modules/builder.py index 4ec2cd8d..c0f84bf8 100644 --- a/modules/builder.py +++ b/modules/builder.py @@ -1775,7 +1775,7 @@ class CollectionBuilder: item = self.config.TMDb.get_movie(item_id) if is_movie else self.config.TMDb.get_show(self.config.Convert.tvdb_to_tmdb(item_id)) if check_released: date_to_check = item.release_date if is_movie else item.first_air_date - if date_to_check > self.current_time: + if not date_to_check or date_to_check > self.current_time: return False for filter_method, filter_data in self.tmdb_filters: filter_attr, modifier, filter_final = self._split(filter_method)