diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-03-03 00:02:09 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-03-03 22:23:47 +0100 |
commit | 643f4590445928b7ac568b922f1edb6f52765b68 (patch) | |
tree | 268570ca5f205dbe0a8f5b13ab8a0b0c7bcc2227 /pyaggr3g470r/lib | |
parent | multi crawler update (diff) | |
download | newspipe-643f4590445928b7ac568b922f1edb6f52765b68.tar.gz newspipe-643f4590445928b7ac568b922f1edb6f52765b68.tar.bz2 newspipe-643f4590445928b7ac568b922f1edb6f52765b68.zip |
displaying feed errors in ui
Diffstat (limited to 'pyaggr3g470r/lib')
-rw-r--r-- | pyaggr3g470r/lib/crawler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyaggr3g470r/lib/crawler.py b/pyaggr3g470r/lib/crawler.py index 5525c7de..5e828dbf 100644 --- a/pyaggr3g470r/lib/crawler.py +++ b/pyaggr3g470r/lib/crawler.py @@ -129,6 +129,7 @@ class PyAggUpdater(AbstractCrawler): self.query_pyagg('put', 'feed/%d' % self.feed['id'], {'error_count': 0, 'etag': self.headers.get('etag', ''), + 'last_error': '', 'last_modified': self.headers.get('last-modified', '')}) |