From d178938463ee47e2d9eda709436a071d5ee6fe90 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 29 Jan 2019 22:40:44 +0000 Subject: [PATCH] Typo, `{,}` instead of `{:}` made `headers` a set (spotify.py) --- modules/spotify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spotify.py b/modules/spotify.py index dbe3f7ce..e6d819f6 100644 --- a/modules/spotify.py +++ b/modules/spotify.py @@ -37,7 +37,7 @@ class Module(ModuleManager.BaseModule): token = self._get_token() page = utils.http.request(URL_SEARCH, get_params={"type": "track", "limit": 1, "q": event["args"]}, - headers={"Authorization", "Bearer %s" % token}, + headers={"Authorization": "Bearer %s" % token}, json=True) if page: if len(page.data["tracks"]["items"]):