File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -362,19 +362,15 @@ def webhooks(self):
362362 return self ._webhooks
363363
364364 def optOut (self , playback = None , library = None ):
365- """Opt in or out of sharing stuff with plex. See
366-
367- https://www.plex.tv/about/privacy-legal/
368-
365+ """ Opt in or out of sharing stuff with plex.
366+ See: https://www.plex.tv/about/privacy-legal/
369367 """
370368 params = {}
371369 if playback is not None :
372370 params ['optOutPlayback' ] = int (playback )
373371 if library is not None :
374372 params ['optOutLibraryStats' ] = int (library )
375-
376373 url = 'https://plex.tv/api/v2/user/privacy'
377-
378374 return self .query (url , method = self ._session .put , params = params )
379375
380376
@@ -477,7 +473,6 @@ def sections(self):
477473 for section in data .iter ('Section' ):
478474 if section :
479475 sections .append (Section (self , section , url ))
480-
481476 return sections
482477
483478
You can’t perform that action at this time.
0 commit comments