forked from openlp/openlp
rendering fixes
bzr-revno: 561
This commit is contained in:
commit
b9fee1a573
@ -100,7 +100,8 @@ class ServiceItem(object):
|
|||||||
lines = u''
|
lines = u''
|
||||||
for line in format:
|
for line in format:
|
||||||
lines += line + u'\n'
|
lines += line + u'\n'
|
||||||
self.frames.append({u'title': slide[u'title'],u'text':lines,
|
title = lines.split(u'\n')[0]
|
||||||
|
self.frames.append({u'title': title ,u'text':lines,
|
||||||
u'image': frame})
|
u'image': frame})
|
||||||
elif self.service_item_type == ServiceType.Command:
|
elif self.service_item_type == ServiceType.Command:
|
||||||
self.frames = self.service_frames
|
self.frames = self.service_frames
|
||||||
|
@ -131,7 +131,7 @@ class SongXMLParser(object):
|
|||||||
try:
|
try:
|
||||||
self.song_xml = ElementTree(element=XML(xml))
|
self.song_xml = ElementTree(element=XML(xml))
|
||||||
except:
|
except:
|
||||||
log.debug(u'Invalid xml %s', xml)
|
log.exception(u'Invalid xml %s', xml)
|
||||||
|
|
||||||
def get_verses(self):
|
def get_verses(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user