From d72a24be3c9100b183ad58acd58d1b3cdf727bd9 Mon Sep 17 00:00:00 2001 From: mkaay Date: Fri, 11 Feb 2011 21:45:41 +0100 Subject: Ev0InFetcher fix, gui cleanup --- module/plugins/hooks/Ev0InFetcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hooks') diff --git a/module/plugins/hooks/Ev0InFetcher.py b/module/plugins/hooks/Ev0InFetcher.py index f20031e40..f3703ea04 100644 --- a/module/plugins/hooks/Ev0InFetcher.py +++ b/module/plugins/hooks/Ev0InFetcher.py @@ -81,7 +81,7 @@ class Ev0InFetcher(Hook, PluginStorage): if not found: self.core.log.debug("Ev0InFetcher: no new episodes found") - for show, lastfound in showStorage.iteritems(): - if lastfound > 0 and lastfound + (3600*24*30) < int(time()): + for show, lastfound in self.getStorage().iteritems(): + if int(lastfound) > 0 and int(lastfound) + (3600*24*30) < int(time()): self.delStorage("show_%s_lastfound" % show) self.core.log.debug("Ev0InFetcher: cleaned '%s' record" % show) -- cgit v1.2.3