Made changes as per Andreas comments.

This commit is contained in:
Philip Ridout 2012-03-30 22:52:50 +01:00
parent e6af8d8bef
commit 4ce95e9d56
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@
The :mod:`dreambeamimport` module provides the functionality for importing
DreamBeam songs into the OpenLP database.
"""
import os, sys
import os
import sys
import logging
from lxml import etree, objectify
@ -111,7 +112,7 @@ class DreamBeamImport(SongImport):
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 field
# sometimes uses the author field
self.addCopyright(unicode(song_xml.Author.text))
self.parseAuthor(unicode(song_xml.Author.text))
if hasattr(song_xml, u'SongLyrics'):