aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-29 22:39:58 +0000
committerGravatar jesopo2019-01-29 22:39:58 +0000
commita177c5050edd992792fbbc2339e727f2b7cf546b (patch)
tree88a366136c1aa91d0bbaa021a3faaa8cc0f154e4 /modules
parentForgot to import `time` (spotify.py) (diff)
signature
`URL_SPOTIFY` was renamed to `URL_SEARCH` (spotify.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/spotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/spotify.py b/modules/spotify.py
index 27d61409..dbe3f7ce 100644
--- a/modules/spotify.py
+++ b/modules/spotify.py
@@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
:usage: <term>
"""
token = self._get_token()
- page = utils.http.request(URL_SPOTIFY,
+ page = utils.http.request(URL_SEARCH,
get_params={"type": "track", "limit": 1, "q": event["args"]},
headers={"Authorization", "Bearer %s" % token},
json=True)