Fixed caching.
For scary reasons, re-used cache was deleted everytime. This is now fixed. Loading in now *really* fast.
This commit is contained in:
parent
5a74babf24
commit
17db2584da
1
morss.py
1
morss.py
@ -277,6 +277,7 @@ def Fill(rss, rule, cache):
|
||||
if cached is not None:
|
||||
log('cached')
|
||||
item.content = cached
|
||||
cache.save(item.link, cached)
|
||||
return item
|
||||
|
||||
# download
|
||||
|
Loading…
x
Reference in New Issue
Block a user