mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
fix date error
This commit is contained in:
parent
677d2f312d
commit
a79056b92a
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
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:
|
if check_released:
|
||||||
date_to_check = item.release_date if is_movie else item.first_air_date
|
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
|
return False
|
||||||
for filter_method, filter_data in self.tmdb_filters:
|
for filter_method, filter_data in self.tmdb_filters:
|
||||||
filter_attr, modifier, filter_final = self._split(filter_method)
|
filter_attr, modifier, filter_final = self._split(filter_method)
|
||||||
|
|
Loading…
Reference in a new issue