From f27ac05826a9ee45a677a22bf1f5e632d22a6d76 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 20 Sep 2019 14:44:59 -0400 Subject: [PATCH] apikey --- sopel_modules/SpiceBot/Search.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sopel_modules/SpiceBot/Search.py b/sopel_modules/SpiceBot/Search.py index 47388ff..3fea136 100644 --- a/sopel_modules/SpiceBot/Search.py +++ b/sopel_modules/SpiceBot/Search.py @@ -36,10 +36,6 @@ class Search(): self.valid_api[search_api]["apikey"] = None self.valid_api[search_api]["cache"] = dict() - apikey = eval("botconfig." + search_api + ".apikey") - if apikey: - self.valid_api[search_api]["apikey"] = apikey - self.valid_api[search_api]["comtype"] = "search_prefix" self.valid_api[search_api]["validcoms"] = [self.valid_api[search_api]["filename"]] botcommands.register(self.valid_api[search_api])