docstring update showing default

This commit is contained in:
blacktwin 2020-02-26 08:55:44 -05:00
parent 6cf18148a0
commit 9cfbeb9421

View file

@ -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)