aboutsummaryrefslogtreecommitdiff
path: root/source/mongodb.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/mongodb.py')
-rw-r--r--source/mongodb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mongodb.py b/source/mongodb.py
index 38081780..f0aa730a 100644
--- a/source/mongodb.py
+++ b/source/mongodb.py
@@ -134,7 +134,7 @@ class Articles(object):
try:
return next(collection.find({"article_id":article_id}))
except:
- return False
+ return []
def get_favorites(self, feed_id=None):
"""
bgstack15