From afcfb5cf3eef2e2b15cc85dd4d4485c994045d14 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Wed, 5 Aug 2015 17:25:51 +0200 Subject: fixing bug preventing from bumping error count from api crawler for none admin user --- pyaggr3g470r/lib/crawler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/lib/crawler.py') 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: -- cgit