forked from openlp/openlp
Fix non-saving OpenLyrics authors
This commit is contained in:
parent
21cdf9f2f1
commit
83fba055d5
@ -381,6 +381,7 @@ class OpenLyrics(object):
|
|||||||
author = Author.populate(display_name=display_name,
|
author = Author.populate(display_name=display_name,
|
||||||
last_name=display_name.split(u' ')[-1],
|
last_name=display_name.split(u' ')[-1],
|
||||||
first_name=u' '.join(display_name.split(u' ')[:-1]))
|
first_name=u' '.join(display_name.split(u' ')[:-1]))
|
||||||
|
song.authors.append(author)
|
||||||
if not song.authors:
|
if not song.authors:
|
||||||
add_author_unknown(self.manager, song)
|
add_author_unknown(self.manager, song)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user