aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/lib/crawler.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-08-05 17:25:51 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-08-05 17:29:24 +0200
commitafcfb5cf3eef2e2b15cc85dd4d4485c994045d14 (patch)
tree655375d0174ba69114baa76d621333bf30630332 /pyaggr3g470r/lib/crawler.py
parentmaking it easier to request with lists (diff)
downloadnewspipe-afcfb5cf3eef2e2b15cc85dd4d4485c994045d14.tar.gz
newspipe-afcfb5cf3eef2e2b15cc85dd4d4485c994045d14.tar.bz2
newspipe-afcfb5cf3eef2e2b15cc85dd4d4485c994045d14.zip
fixing bug preventing from bumping error count from api crawler for none admin user
Diffstat (limited to 'pyaggr3g470r/lib/crawler.py')
-rw-r--r--pyaggr3g470r/lib/crawler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/lib/crawler.py b/pyaggr3g470r/lib/crawler.py
index b599e2d4..91942c59 100644
--- a/pyaggr3g470r/lib/crawler.py
+++ b/pyaggr3g470r/lib/crawler.py
@@ -167,7 +167,8 @@ class FeedCrawler(AbstractCrawler):
self.feed['title'], error_count)
future = self.query_pyagg('put', 'feed/%d' % self.feed['id'],
{'error_count': error_count,
- 'last_error': str(error)})
+ 'last_error': str(error),
+ 'user_id': self.feed['user_id']})
return
if response.status_code == 304:
bgstack15