forked from openlp/openlp
- pep8
This commit is contained in:
parent
2edf579ec3
commit
9222ccdcc5
@ -647,9 +647,10 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
item.raw_footer = []
|
item.raw_footer = []
|
||||||
item.raw_footer.append(song.title)
|
item.raw_footer.append(song.title)
|
||||||
if authors_none:
|
if authors_none:
|
||||||
|
# If the setting for showing "Written by:" is enabled, show it before unspecified authors.
|
||||||
if Settings().value('songs/display written by'):
|
if Settings().value('songs/display written by'):
|
||||||
item.raw_footer.append("{text}: {authors}".format(text=translate('OpenLP.Ui', 'Written by'),
|
item.raw_footer.append("{text}: {authors}".format(text=translate('OpenLP.Ui', 'Written by'),
|
||||||
authors=create_separated_list(authors_none)))
|
authors=create_separated_list(authors_none)))
|
||||||
else:
|
else:
|
||||||
item.raw_footer.append("{authors}".format(authors=create_separated_list(authors_none)))
|
item.raw_footer.append("{authors}".format(authors=create_separated_list(authors_none)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user