From 3869c85fe75b1069e1171456913b81266b0623ed Mon Sep 17 00:00:00 2001 From: blacktwin Date: Fri, 29 Sep 2017 15:13:30 -0400 Subject: [PATCH] Update plex_api_parental_control.py --- utility/plex_api_parental_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/plex_api_parental_control.py b/utility/plex_api_parental_control.py index 43c6238..616a236 100644 --- a/utility/plex_api_parental_control.py +++ b/utility/plex_api_parental_control.py @@ -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))