Skip to content

Commit 810b469

Browse files
committed
lint myplex
1 parent 56ffd6e commit 810b469

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

plexapi/myplex.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def resources(self):
196196
return [MyPlexResource(self, elem) for elem in data]
197197

198198
def inviteFriend(self, user, server, sections=None, allowSync=False, allowCameraUpload=False,
199-
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
199+
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
200200
""" Share library content with the specified user.
201201
202202
Parameters:
@@ -234,9 +234,9 @@ def inviteFriend(self, user, server, sections=None, allowSync=False, allowCamera
234234
return self.query(url, self._session.post, json=params, headers=headers)
235235

236236
def createHomeUser(self, user, server, sections=None, allowSync=False, allowCameraUpload=False,
237-
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
237+
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
238238
""" Share library content with the specified user.
239-
239+
240240
Parameters:
241241
user (str): MyPlexUser, username, email of the user to be added.
242242
server (PlexServer): PlexServer object or machineIdentifier containing the library sections to share.
@@ -280,7 +280,7 @@ def createHomeUser(self, user, server, sections=None, allowSync=False, allowCame
280280
return user_creation, library_assignment
281281

282282
def createExistingUser(self, user, server, sections=None, allowSync=False, allowCameraUpload=False,
283-
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
283+
allowChannels=False, filterMovies=None, filterTelevision=None, filterMusic=None):
284284
""" Share library content with the specified user.
285285
286286
Parameters:
@@ -385,7 +385,7 @@ def updateFriend(self, user, server, sections=None, removeSections=False, allowS
385385
url = self.FRIENDSERVERS.format(machineId=machineId, serverId=serverId)
386386
else:
387387
params = {'server_id': machineId, 'shared_server': {'library_section_ids': sectionIds,
388-
"invited_id": user.id}}
388+
'invited_id': user.id}}
389389
url = self.FRIENDINVITE.format(machineId=machineId)
390390
# Remove share sections, add shares to user without shares, or update shares
391391
if not user_servers or sectionIds:

0 commit comments

Comments
 (0)