clean ups

This commit is contained in:
Andreas Preikschat 2011-01-09 18:07:17 +01:00
parent ce1241aa0f
commit 62794614f9
2 changed files with 3 additions and 3 deletions

View File

@ -35,11 +35,11 @@ class HideMode(object):
``Blank``
This mode is used to hide all output, specifically by covering the
display with a black screen.
``Theme``
This mode is used to hide all output, but covers the display with the
current theme background, as opposed to black.
``Desktop``
This mode hides all output by minimising the display, leaving the user's
desktop showing.

View File

@ -269,7 +269,7 @@ class OpenLyrics(object):
song = Song()
if xml[:5] == u'<?xml':
xml = xml[38:]
# Remove chords
# Remove chords from xml.
xml = re.compile(u'<chord name=".*?"/>').sub(u'', xml)
song_xml = objectify.fromstring(xml)
properties = song_xml.properties