From 5f75e7a81d1f15705560f94a93a1e3461910c6d6 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Mon, 23 Sep 2019 09:48:31 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Search.py b/sopel_modules/SpiceBot/Search.py index 83a64f5..f785782 100644 --- a/sopel_modules/SpiceBot/Search.py +++ b/sopel_modules/SpiceBot/Search.py @@ -102,7 +102,7 @@ class Search(): # url base url = str(searchdict["url"]) # query - url += str(self.valid_api[searchdict["query_param"]]) + str(searchdict["query"]) + url += str(self.valid_api[searchdict["query_type"]]["query_param"]) + str(searchdict["query"]) # nsfw search? TODO # additional parts if "additional_url" in list(self.valid_api[searchdict["query_type"]].keys()):