mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing empty folders.
This commit is contained in:
parent
fa6f5bb6e5
commit
50881dc8dc
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ class Feed(models.Model):
|
|||
|
||||
def get_stories(self, offset=0, limit=25):
|
||||
updated = cache.get('updated_feed:%s' % self.id)
|
||||
stories = None
|
||||
if not updated:
|
||||
stories = cache.get('feed_stories:%s-%s-%s' % (self.id, offset, limit), [])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue