aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-29 22:47:02 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-29 22:47:02 +0100
commit24ecc23ead2b7447a41227e20958222ce2a7e9ed (patch)
treefab9d7e2f47993cdfb5a776e935f3d9e05ffe04f /src/web/views
parentImproved the pagination and sorting of the list of articles of the public page. (diff)
downloadnewspipe-24ecc23ead2b7447a41227e20958222ce2a7e9ed.tar.gz
newspipe-24ecc23ead2b7447a41227e20958222ce2a7e9ed.tar.bz2
newspipe-24ecc23ead2b7447a41227e20958222ce2a7e9ed.zip
Removed deug print.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/feed.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 385d7de2..f59878b8 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -59,7 +59,6 @@ def feed_view(feed_id=None, user_id=None):
delta = last_article - first_article
average = round(float(articles.count()) / abs(delta.days), 2)
except Exception as e:
- print(e)
last_article = datetime.fromtimestamp(0)
first_article = datetime.fromtimestamp(0)
delta = last_article - first_article
bgstack15