mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 14:14:19 +00:00
fix few more flake8 warnings
This commit is contained in:
parent
e5794e4a13
commit
a28cbdc669
1 changed files with 3 additions and 3 deletions
|
@ -378,13 +378,13 @@ class LibrarySection(PlexObject):
|
|||
return self.fetchItem(key, title__iexact=title)
|
||||
|
||||
def all(self, sort=None, **kwargs):
|
||||
""" Returns a list of media from this library section.
|
||||
|
||||
""" Returns a list of media from this library section.
|
||||
|
||||
Parameters:
|
||||
sort (string): The sort string
|
||||
"""
|
||||
sortStr = ''
|
||||
if sort != None:
|
||||
if sort is not None:
|
||||
sortStr = '?sort=' + sort
|
||||
|
||||
key = '/library/sections/%s/all%s' % (self.key, sortStr)
|
||||
|
|
Loading…
Reference in a new issue