mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
docstring update showing default
This commit is contained in:
parent
6cf18148a0
commit
9cfbeb9421
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ class PlexServer(PlexObject):
|
|||
""" Toggle allowMediaDeletion.
|
||||
Parameters:
|
||||
toggle (bool): True enables Media Deletion
|
||||
False or None disable Media Deletion
|
||||
False or None disable Media Deletion (Default)
|
||||
"""
|
||||
value = 1 if toggle is True else 0
|
||||
return self.query('/:/prefs?allowMediaDeletion=%s' % value, self._session.put)
|
||||
|
|
Loading…
Reference in a new issue