From 702c10672eea93797bfd7c97edeffb53cb70caf5 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Fri, 8 Feb 2019 00:47:30 -0500 Subject: [PATCH] Update plugin.py --- plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index b09ed72..73eabd2 100644 --- a/plugin.py +++ b/plugin.py @@ -32,8 +32,7 @@ class Lyrics(callbacks.Plugin): channel = msg.args[0] lyrics = None if ',' in lyric: - query = lyric.split(', ') - + query = lyric.split(', ') else: irc.reply("Searches must be formatted as artist, song title") data = requests.get("https://lyric-api.herokuapp.com/api/find/{0}/{1}".format(query[0], query[1])).json()