mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
Update validate value exception message
This commit is contained in:
parent
95c47c67c7
commit
b3dd52680e
1 changed files with 1 additions and 1 deletions
|
@ -762,7 +762,7 @@ class LibrarySection(PlexObject):
|
|||
if matchValue in {f.key.lower(), f.title.lower()}), value)
|
||||
results.append(str(value))
|
||||
except ValueError:
|
||||
raise BadRequest('Invalid filter value "%s" for filter field "%s", value should be type %s'
|
||||
raise BadRequest('Invalid value "%s" for filter field "%s", value should be type %s'
|
||||
% (value, filterField.key, fieldType.type)) from None
|
||||
|
||||
return results
|
||||
|
|
Loading…
Reference in a new issue