Code

leoslyrics plugin: handle parser exceptions
authorThomas Jansen <mithi@mithi.net>
Sun, 4 Oct 2009 08:55:56 +0000 (10:55 +0200)
committerThomas Jansen <mithi@mithi.net>
Sun, 4 Oct 2009 08:55:56 +0000 (10:55 +0200)
commit2b21735058e33356f3755a3c2ab3f0b14e908e01
tree7f7e6155403c714841a44ceede273d240e5129b7
parente25d7523c092a56b404e385daa8eba228c3b3074
leoslyrics plugin: handle parser exceptions

Should fix bug #2286. Added exception handling for both calls of the SAX
XML parser. Also removed trailing newlines from the result to keep us from
scrolling down further than the last line.
lyrics/03-leoslyrics.py