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