mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-29 23:11:09 -05:00
Lyrics: Strip superfluous space.
This commit is contained in:
parent
9668427a6d
commit
01f0fac281
@ -153,7 +153,7 @@ class Lyrics(callbacks.Plugin):
|
|||||||
if url and title and "lyrics.fandom.com/wiki/" in url:
|
if url and title and "lyrics.fandom.com/wiki/" in url:
|
||||||
lyrics = self.getlyrics(url)
|
lyrics = self.getlyrics(url)
|
||||||
if lyrics:
|
if lyrics:
|
||||||
irc.reply(title + " | " + lyrics, prefixNick=False)
|
irc.reply(title.strip() + " | " + lyrics.strip(), prefixNick=False)
|
||||||
else:
|
else:
|
||||||
irc.reply("Unable to retrieve lyrics from {0}".format(url))
|
irc.reply("Unable to retrieve lyrics from {0}".format(url))
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user