Skip to content

Commit a28cbdc

Browse files
fix few more flake8 warnings
1 parent e5794e4 commit a28cbdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plexapi/library.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,13 @@ def get(self, title):
378378
return self.fetchItem(key, title__iexact=title)
379379

380380
def all(self, sort=None, **kwargs):
381-
""" Returns a list of media from this library section.
382-
381+
""" Returns a list of media from this library section.
382+
383383
Parameters:
384384
sort (string): The sort string
385385
"""
386386
sortStr = ''
387-
if sort != None:
387+
if sort is not None:
388388
sortStr = '?sort=' + sort
389389

390390
key = '/library/sections/%s/all%s' % (self.key, sortStr)

0 commit comments

Comments
 (0)