forked from openlp/openlp
Coding standards fixes
This commit is contained in:
parent
ae394cf028
commit
33cbda294d
|
@ -306,8 +306,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: (get_natural_key(songbook_entry.songbook.name),
|
search_results = sorted(search_results, key=lambda songbook_entry:
|
||||||
get_natural_key(songbook_entry.entry)))
|
(get_natural_key(songbook_entry.songbook.name), get_natural_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
|
||||||
|
|
Loading…
Reference in New Issue