forked from openlp/openlp
Clean up serviceitem
This commit is contained in:
parent
5c91bb7fe4
commit
9d959d5aab
@ -93,15 +93,10 @@ class ServiceItem(object):
|
||||
self.RenderManager.set_override_theme(None)
|
||||
else:
|
||||
self.RenderManager.set_override_theme(self.theme)
|
||||
firstTime = True
|
||||
for slide in self.service_frames:
|
||||
formated = self.RenderManager.format_slide(slide[u'raw_slide'])
|
||||
for format in formated:
|
||||
frame = None
|
||||
if firstTime:
|
||||
frame = self.RenderManager.generate_slide(format,
|
||||
self.raw_footer)
|
||||
firstTime = False
|
||||
lines = u''
|
||||
for line in format:
|
||||
lines += line + u'\n'
|
||||
|
Loading…
Reference in New Issue
Block a user