Update plex_api_parental_control.py

This commit is contained in:
blacktwin 2017-09-29 15:13:30 -04:00 committed by GitHub
parent a96794ad4e
commit 3869c85fe7

View File

@ -61,7 +61,7 @@ def share(user, libraries):
def unshare(user, libraries):
plex.myPlexAccount().updateFriend(user=user, server=plex, removeSections=True)
plex.myPlexAccount().updateFriend(user=user, server=plex, removeSections=True, sections=libraries)
print('Unshared libraries: {libraries} from {user}.'.format(libraries=libraries, user=user))