aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/views/user.py2
-rw-r--r--src/web/views/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 682e20ff..21427d3c 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -30,7 +30,7 @@ def profile_public(nickname=None):
return redirect(url_for('home'))
filters = {}
- filters['private__eq'] = False
+ filters['private'] = False
feeds = FeedController(user.id).read(**filters).all()
"""word_size = 6
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 8024b27d..250d221d 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -64,7 +64,7 @@ def popular():
filters = {}
filters['created_date__gt'] = not_added_before
- filters['private__eq'] = False
+ filters['private'] = False
feeds = FeedController().count_by_link(**filters)
sorted_feeds = sorted(list(feeds.items()), key=operator.itemgetter(1),
reverse=True)
bgstack15