summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-02-11 21:45:41 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2011-02-11 21:45:41 +0100
commitd72a24be3c9100b183ad58acd58d1b3cdf727bd9 (patch)
treed704af73903310e0141f92e64440eacc872f3146 /module/plugins
parentThrift with SSL (diff)
downloadpyload-d72a24be3c9100b183ad58acd58d1b3cdf727bd9.tar.xz
Ev0InFetcher fix, gui cleanup
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/Ev0InFetcher.py4
1 files changed, 2 insertions, 2 deletions
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)