From b42850fd50d4fc1006ebccd1f7d2abbea0d14c94 Mon Sep 17 00:00:00 2001 From: PrgmrBill Date: Fri, 8 May 2015 13:53:08 -0400 Subject: [PATCH] SpiffyTitles: fixes cache issue --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 51a7754..ff8f054 100644 --- a/plugin.py +++ b/plugin.py @@ -172,7 +172,7 @@ class SpiffyTitles(callbacks.Plugin): break # Found link, check timestamp - if cached_link: + if cached_link is not None: seconds = (now - cached_link["timestamp"]).total_seconds() stale = seconds >= cache_lifetime_in_seconds