pep8 fixes

This commit is contained in:
Tomas Groth 2016-03-13 19:37:08 +01:00
parent 1dfad12edc
commit faa434d937
2 changed files with 4 additions and 4 deletions

View File

@ -700,7 +700,7 @@ class SongMediaItem(MediaManagerItem):
:param s: A string value from the list we want to sort. :param s: A string value from the list we want to sort.
""" """
return [int(text) if text.isdecimal() else text.lower() return [int(text) if text.isdecimal() else text.lower()
for text in re.split('(\d+)', s)] for text in re.split('(\d+)', s)]
def search(self, string, show_error): def search(self, string, show_error):
""" """