From 3acbf7c6fcb5ddfed40614f6ebbda9c969997e8d Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 20 Sep 2019 08:13:10 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Gif.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot/Gif.py b/sopel_modules/SpiceBot/Gif.py index 9a90f6a..e02afb8 100644 --- a/sopel_modules/SpiceBot/Gif.py +++ b/sopel_modules/SpiceBot/Gif.py @@ -130,12 +130,11 @@ class BotGif(): verifygoodlinks.append(gifresult) self.valid_api[currentapi]["cache"][str(searchdict["searchquery"])] = verifygoodlinks - logs.log('SpiceBot_Gif', str(searchfor), True) - if searchfor: self.valid_api[currentapi]["cache"][str(searchdict["searchquery"]).lower()] = [] # assemble url url = self.gif_url_assemble(currentapi, str(searchdict["searchquery"]), str(searchdict["searchlimit"]), searchdict['nsfw']) + logs.log('SpiceBot_Gif', str(url), True) # fetch results self.fetch_gif_results(currentapi, str(searchdict["searchquery"]), url)