remove limit.

This commit is contained in:
Jason Schwarzenberger
2020-11-09 17:54:50 +13:00
parent 7b8cbfc9b9
commit c1b7877f4b
2 changed files with 2 additions and 7 deletions
+1 -2
View File
@@ -79,8 +79,7 @@ def get_stories(maxage=60*60*24*2):
join(Story).\
filter(Story.title != None).\
filter(Story.meta['date'] > time).\
order_by(Story.meta['date'].desc()).\
limit(amount)
order_by(Story.meta['date'].desc())
return [x[1] for x in q]
def put_ref(ref, sid, source):