Clean up serviceitem

This commit is contained in:
Tim Bentley 2009-09-20 08:17:20 +01:00
parent 5c91bb7fe4
commit 9d959d5aab

View File

@ -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'