forked from openlp/openlp
Unbreak the songimport tests...
This commit is contained in:
parent
ad94e7c19f
commit
3287027315
@ -256,7 +256,10 @@ class SongImport(QtCore.QObject):
|
|||||||
if author2.endswith('.'):
|
if author2.endswith('.'):
|
||||||
author2 = author2[:-1]
|
author2 = author2[:-1]
|
||||||
if author2:
|
if author2:
|
||||||
self.add_author(author2, type)
|
if type:
|
||||||
|
self.add_author(author2, type)
|
||||||
|
else:
|
||||||
|
self.add_author(author2)
|
||||||
|
|
||||||
def add_author(self, author, type=None):
|
def add_author(self, author, type=None):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user