mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Fixing river error on empty folder.
This commit is contained in:
parent
7f4f603ce4
commit
c0c6d7b07b
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ class UserSubscription(models.Model):
|
|||
read_filter=read_filter, order=order,
|
||||
include_timestamps=True,
|
||||
group_by_feed=False)
|
||||
if not story_hashes:
|
||||
return [], []
|
||||
|
||||
r.zadd(ranked_stories_keys, **dict(story_hashes))
|
||||
story_hashes = range_func(ranked_stories_keys, offset, limit)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue