mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -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:
|
||||
lyrics = self.getlyrics(url)
|
||||
if lyrics:
|
||||
irc.reply(title + " | " + lyrics, prefixNick=False)
|
||||
irc.reply(title.strip() + " | " + lyrics.strip(), prefixNick=False)
|
||||
else:
|
||||
irc.reply("Unable to retrieve lyrics from {0}".format(url))
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user