_cleanSearchFilter returns two elements

This commit is contained in:
blacktwin 2021-01-27 09:15:19 -05:00
parent d26d8bc0f0
commit 58089fa982

View file

@ -665,7 +665,7 @@ class LibrarySection(PlexObject):
args = {}
for category, value in list(kwargs.items()):
if category.split('__')[-1] not in OPERATORS:
args[category] = self._cleanSearchFilter(category, value, libtype)
args[category], libtype = self._cleanSearchFilter(category, value, libtype)
del kwargs[category]
if all([title, libtype]):
args['title'] = title