forked from openlp/openlp
debug cleanups
This commit is contained in:
parent
da88990549
commit
27dd493d40
@ -136,7 +136,6 @@ class Renderer(object):
|
||||
line_end = u''
|
||||
if line_break:
|
||||
line_end = u'<br>'
|
||||
print words
|
||||
words = words.replace(u'\r\n', u'\n')
|
||||
verses_text = words.split(u'\n')
|
||||
text = []
|
||||
@ -180,7 +179,6 @@ class Renderer(object):
|
||||
old_html_text = temp_text
|
||||
formatted.append(shell % old_html_text)
|
||||
log.debug(u'format_slide - End')
|
||||
print formatted
|
||||
return formatted
|
||||
|
||||
def _generate_background_frame(self):
|
||||
|
@ -319,9 +319,6 @@ class MainDisplay(DisplayWidget):
|
||||
# Make display show up if in single screen mode
|
||||
if self.isLive:
|
||||
self.setVisible(True)
|
||||
# save preview for debugging
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
preview.save(u'temp.png', u'png')
|
||||
return preview
|
||||
|
||||
def buildHtml(self, serviceItem):
|
||||
|
Loading…
Reference in New Issue
Block a user