coding standards fix

This commit is contained in:
Chris Hill 2016-03-19 16:01:23 +00:00
parent 5e33c05080
commit 2feedf6f38

View File

@ -303,8 +303,8 @@ class SongMediaItem(MediaManagerItem):
""" """
log.debug('display results Book') log.debug('display results Book')
self.list_view.clear() self.list_view.clear()
search_results = sorted(search_results, key=lambda songbook_entry: ( search_results = sorted(search_results, key=lambda songbook_entry: (songbook_entry.songbook.name,
songbook_entry.songbook.name, self._natural_sort_key(songbook_entry.entry))) self._natural_sort_key(songbook_entry.entry)))
for songbook_entry in search_results: for songbook_entry in search_results:
if songbook_entry.song.temporary: if songbook_entry.song.temporary:
continue continue