Log cache hash in Gather

master
pictuga 2013-09-25 11:15:11 +02:00
parent 3d6d7e70b6
commit 1e621099e0
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,6 @@ class Cache:
key, bdata = line.split("\t", 1)
self._cached[key] = bdata
log(self._hash)
def __del__(self):
self.save()
@ -369,6 +367,8 @@ def Gather(url, cachePath, progress=False):
url = url.replace(' ', '%20')
cache = Cache(cachePath, url)
log(cache._hash)
# fetch feed
if cache.isYoungerThan(DELAY):
if 'xml' in cache: