From 5ab5dfddbb6c084407652da62efa611f4caef406 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 8 Nov 2011 23:36:06 +0100 Subject: [PATCH] Return value on setCache --- couchpotato/core/plugins/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index 914bc89e..902dd94e 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -169,6 +169,7 @@ class Plugin(object): def setCache(self, cache_key, value, timeout = 300): log.debug('Setting cache %s' % cache_key) Env.get('cache').set(cache_key, value, timeout) + return value def isDisabled(self): return not self.isEnabled()