flake fix

line too long
This commit is contained in:
blacktwin 2020-04-13 13:30:54 -04:00
parent a47f67d3df
commit ba1559dcdc

View file

@ -395,7 +395,8 @@ class MyPlexAccount(PlexObject):
params = {'server_id': machineId, 'shared_server': {'library_section_ids': sectionIds}} params = {'server_id': machineId, 'shared_server': {'library_section_ids': sectionIds}}
url = self.FRIENDSERVERS.format(machineId=machineId, serverId=serverId) url = self.FRIENDSERVERS.format(machineId=machineId, serverId=serverId)
else: else:
params = {'server_id': machineId, 'shared_server': {'library_section_ids': sectionIds, 'invited_id': user.id}} params = {'server_id': machineId,
'shared_server': {'library_section_ids': sectionIds, 'invited_id': user.id}}
url = self.FRIENDINVITE.format(machineId=machineId) url = self.FRIENDINVITE.format(machineId=machineId)
# Remove share sections, add shares to user without shares, or update shares # Remove share sections, add shares to user without shares, or update shares
if not user_servers or sectionIds: if not user_servers or sectionIds: