From 6219fa5f9da617fc183b12ae6735f0d9360ac500 Mon Sep 17 00:00:00 2001 From: pluja Date: Mon, 5 Oct 2020 23:12:34 +0200 Subject: [PATCH] Fixes repeated tweets on feed --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 72ad3af..4ec3758 100644 --- a/app/routes.py +++ b/app/routes.py @@ -98,7 +98,7 @@ def twitter(page=0): posts.sort(key=lambda x: datetime.datetime.strptime(x['timeStamp'], '%d/%m/%Y %H:%M:%S'), reverse=True) # Items range per page - page_items = page*10 + page_items = page*16 offset = page_items+16 # Pagination logic init_page = page-3