Skip to content

Commit

Permalink
_cleanSearchFilter returns two elements
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktwin committed Jan 27, 2021
1 parent d26d8bc commit 58089fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plexapi/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def search(self, title=None, sort=None, maxresults=None,
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
Expand Down

0 comments on commit 58089fa

Please sign in to comment.