aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-16 07:24:24 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-16 07:24:24 +0100
commit052dd984ee98adf75c9ad022f6f2d6cc9cc88b36 (patch)
tree19d1577e06c1edbe100ee1a5705ae908fa7f7b52
parentImprovements and fixes for the history() function. (diff)
downloadnewspipe-052dd984ee98adf75c9ad022f6f2d6cc9cc88b36.tar.gz
newspipe-052dd984ee98adf75c9ad022f6f2d6cc9cc88b36.tar.bz2
newspipe-052dd984ee98adf75c9ad022f6f2d6cc9cc88b36.zip
Removed debug print.
-rwxr-xr-xpyaggr3g470r/utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py
index 1ad2896a..b1c9ff50 100755
--- a/pyaggr3g470r/utils.py
+++ b/pyaggr3g470r/utils.py
@@ -95,7 +95,6 @@ def history(user_id, year=None, month=None):
articles = articles.filter(sqlalchemy.extract('year', Article.date) == year)
if None != month:
articles = articles.filter(sqlalchemy.extract('month', Article.date) == month)
- print(articles.count())
for article in articles.all():
if None != year:
articles_counter[article.date.month] += 1
bgstack15