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)
|
self.RenderManager.set_override_theme(None)
|
||||||
else:
|
else:
|
||||||
self.RenderManager.set_override_theme(self.theme)
|
self.RenderManager.set_override_theme(self.theme)
|
||||||
firstTime = True
|
|
||||||
for slide in self.service_frames:
|
for slide in self.service_frames:
|
||||||
formated = self.RenderManager.format_slide(slide[u'raw_slide'])
|
formated = self.RenderManager.format_slide(slide[u'raw_slide'])
|
||||||
for format in formated:
|
for format in formated:
|
||||||
frame = None
|
frame = None
|
||||||
if firstTime:
|
|
||||||
frame = self.RenderManager.generate_slide(format,
|
|
||||||
self.raw_footer)
|
|
||||||
firstTime = False
|
|
||||||
lines = u''
|
lines = u''
|
||||||
for line in format:
|
for line in format:
|
||||||
lines += line + u'\n'
|
lines += line + u'\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user