diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-11 21:45:41 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-11 21:45:41 +0100 |
commit | d72a24be3c9100b183ad58acd58d1b3cdf727bd9 (patch) | |
tree | d704af73903310e0141f92e64440eacc872f3146 /module/plugins | |
parent | Thrift with SSL (diff) | |
download | pyload-d72a24be3c9100b183ad58acd58d1b3cdf727bd9.tar.xz |
Ev0InFetcher fix, gui cleanup
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hooks/Ev0InFetcher.py | 4 |
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) |