mirror of
https://gitlab.com/openlp/openlp.git
synced 2024-09-29 11:27:36 +00:00
Made changes as to Jonathan's requests
This commit is contained in:
parent
5925fb624e
commit
7260dee1d6
@ -31,15 +31,12 @@ DreamBeam songs into the OpenLP database.
|
||||
import os, sys
|
||||
import logging
|
||||
|
||||
from lxml import etree, objectify
|
||||
from lxml import etree, objectify
|
||||
|
||||
from openlp.core.lib import translate
|
||||
from openlp.plugins.songs.lib.songimport import SongImport
|
||||
from openlp.plugins.songs.lib.ui import SongStrings
|
||||
|
||||
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
class DreamBeamImport(SongImport):
|
||||
@ -87,7 +84,7 @@ class DreamBeamImport(SongImport):
|
||||
|
||||
def __init__(self, manager, **kwargs):
|
||||
"""
|
||||
Initialise the Words of Worship importer.
|
||||
Initialise the DreamBeam importer.
|
||||
"""
|
||||
SongImport.__init__(self, manager, **kwargs)
|
||||
|
||||
@ -119,8 +116,8 @@ class DreamBeamImport(SongImport):
|
||||
if hasattr(song_xml, u'Title'):
|
||||
self.title = unicode(song_xml.Title.text)
|
||||
if hasattr(song_xml, u'Author'):
|
||||
# Dreambeam does not have a copyright field, instead it
|
||||
# some times uses the author feild
|
||||
# DreamBeam does not have a copyright field, instead it
|
||||
# some times uses the author field
|
||||
self.addCopyright(unicode(song_xml.Author.text))
|
||||
self.parseAuthor(unicode(song_xml.Author.text))
|
||||
if hasattr(song_xml, u'SongLyrics'):
|
||||
|
@ -26,7 +26,7 @@
|
||||
###############################################################################
|
||||
"""
|
||||
The :mod:`songshowplusimport` module provides the functionality for importing
|
||||
Song Show Plus songs into the OpenLP database.
|
||||
SongShow Plus songs into the OpenLP database.
|
||||
"""
|
||||
import os
|
||||
import logging
|
||||
|
Loading…
Reference in New Issue
Block a user