From 584e813ae951a3b2f1e0c9ddd945dad5dbc28609 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Fri, 29 Sep 2017 15:23:08 -0400 Subject: [PATCH] Update plex_api_share.py --- utility/plex_api_share.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/utility/plex_api_share.py b/utility/plex_api_share.py index 2df66ab..983bc03 100644 --- a/utility/plex_api_share.py +++ b/utility/plex_api_share.py @@ -46,10 +46,7 @@ sections_lst = [x.title for x in plex.library.sections()] def share(user, libraries): plex.myPlexAccount().updateFriend(user=user, server=plex, sections=libraries) - if not libraries: - print('Shared all libraries with {user}.'.format(user=user)) - else: - print('Shared libraries: {libraries} with {user}.'.format(libraries=libraries, user=user)) + print('Shared libraries: {libraries} with {user}.'.format(libraries=libraries, user=user)) def unshare(user, libraries):