#184 fix for sort_by_date returning None
This commit is contained in:
parent
5d8d40d6ee
commit
438673df66
@ -459,8 +459,9 @@ def get_content(libraries, jbop, filters=None, search=None, limit=None):
|
||||
for child in plex_library.all():
|
||||
for episode in child.episodes():
|
||||
if jbop.startswith("history"):
|
||||
item_date = sort_by_dates(episode, jbop)
|
||||
child_lst += item_date
|
||||
if sort_by_dates(episode, jbop):
|
||||
item_date = sort_by_dates(episode, jbop)
|
||||
child_lst += item_date
|
||||
else:
|
||||
child_lst += [episode.ratingKey]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user