SpiffyTitles: fixes cache issue

This commit is contained in:
PrgmrBill 2015-05-08 13:53:08 -04:00
parent 5009064fcf
commit b42850fd50
1 changed files with 1 additions and 1 deletions

View File

@ -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