forked from openlp/openlp
fixed OpenSong import
This commit is contained in:
parent
0fa4bee842
commit
3b98cbe0fd
|
@ -164,7 +164,9 @@ class OpenSongImport(SongImport):
|
|||
try:
|
||||
tree = objectify.parse(file)
|
||||
except (Error, LxmlError):
|
||||
self.log_error(file.name, SongStrings.XMLSyntaxError)
|
||||
log.exception(u'Error parsing XML')
|
||||
return
|
||||
root = tree.getroot()
|
||||
fields = dir(root)
|
||||
decode = {
|
||||
|
|
Loading…
Reference in New Issue