From bf6a740f7bcf3f1d21f78e67a0ed8a6b167c499f Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 31 Oct 2018 16:17:22 +0000 Subject: [PATCH] Fix typo in modules/imgur.py that caused `headers` passed to utils.http.get_url to be a set, not a dict. (',' -> ':') --- modules/imgur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgur.py b/modules/imgur.py index cc0522e6..d37f0562 100644 --- a/modules/imgur.py +++ b/modules/imgur.py @@ -10,7 +10,7 @@ class Module(ModuleManager.BaseModule): def _image_info(self, hash): api_key = self.bot.config["imgur-api-key"] result = utils.http.get_url(URL_IMAGE % hash, - headers={"Authorization", "Client-ID %s" % api_key}, + headers={"Authorization": "Client-ID %s" % api_key}, json=True) if result and result["success"]: