Skip to content

Commit d03a274

Browse files
authored
Allow exclusion keys in sharing settings (#908)
1 parent 549e76b commit d03a274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plexapi/myplex.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def _filterDictToStr(self, filterDict):
565565
""" Converts friend filters to a string representation for transport. """
566566
values = []
567567
for key, vals in filterDict.items():
568-
if key not in ('contentRating', 'label'):
568+
if key not in ('contentRating', 'label', 'contentRating!', 'label!'):
569569
raise BadRequest('Unknown filter key: %s', key)
570570
values.append('%s=%s' % (key, '%2C'.join(vals)))
571571
return '|'.join(values)

0 commit comments

Comments
 (0)