forked from openlp/openlp
clean ups
This commit is contained in:
parent
ce1241aa0f
commit
62794614f9
@ -35,11 +35,11 @@ class HideMode(object):
|
|||||||
``Blank``
|
``Blank``
|
||||||
This mode is used to hide all output, specifically by covering the
|
This mode is used to hide all output, specifically by covering the
|
||||||
display with a black screen.
|
display with a black screen.
|
||||||
|
|
||||||
``Theme``
|
``Theme``
|
||||||
This mode is used to hide all output, but covers the display with the
|
This mode is used to hide all output, but covers the display with the
|
||||||
current theme background, as opposed to black.
|
current theme background, as opposed to black.
|
||||||
|
|
||||||
``Desktop``
|
``Desktop``
|
||||||
This mode hides all output by minimising the display, leaving the user's
|
This mode hides all output by minimising the display, leaving the user's
|
||||||
desktop showing.
|
desktop showing.
|
||||||
|
@ -269,7 +269,7 @@ class OpenLyrics(object):
|
|||||||
song = Song()
|
song = Song()
|
||||||
if xml[:5] == u'<?xml':
|
if xml[:5] == u'<?xml':
|
||||||
xml = xml[38:]
|
xml = xml[38:]
|
||||||
# Remove chords
|
# Remove chords from xml.
|
||||||
xml = re.compile(u'<chord name=".*?"/>').sub(u'', xml)
|
xml = re.compile(u'<chord name=".*?"/>').sub(u'', xml)
|
||||||
song_xml = objectify.fromstring(xml)
|
song_xml = objectify.fromstring(xml)
|
||||||
properties = song_xml.properties
|
properties = song_xml.properties
|
||||||
|
Loading…
Reference in New Issue
Block a user