From 7959f1ab881512ca2515664a4f33d9533448d4e2 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 2 Sep 2019 14:07:26 +0100 Subject: change Cache.py to be key:value --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github.py') diff --git a/modules/github.py b/modules/github.py index c2f13294..71df302e 100644 --- a/modules/github.py +++ b/modules/github.py @@ -177,7 +177,7 @@ class Module(ModuleManager.BaseModule): if not cooldown == None: cache = self._cache_ref(ref) if not self.bot.cache.has_item(cache): - self.bot.cache.temporary_cache(cache, cooldown) + self.bot.cache.temporary_cache(cache, True, cooldown) return True else: return False -- cgit v1.3.1-10-gc9f91