diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-04 15:09:08 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-04 15:09:08 +0100 |
commit | fa8319bd72f34fb6d157052107463493733e16d0 (patch) | |
tree | 4d53e77444b130740b6c1593c71bfe87ec398b50 /pyaggr3g470r/views/api | |
parent | Updated the name of the command to invoke the crawler based on asyncio. Updat... (diff) | |
download | newspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.gz newspipe-fa8319bd72f34fb6d157052107463493733e16d0.tar.bz2 newspipe-fa8319bd72f34fb6d157052107463493733e16d0.zip |
Typo.
Diffstat (limited to 'pyaggr3g470r/views/api')
-rw-r--r-- | pyaggr3g470r/views/api/feed.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyaggr3g470r/views/api/feed.py b/pyaggr3g470r/views/api/feed.py index 898e30b0..0d83ea43 100644 --- a/pyaggr3g470r/views/api/feed.py +++ b/pyaggr3g470r/views/api/feed.py @@ -16,7 +16,7 @@ FEED_ATTRS = {'title': {'type': str}, 'enabled': {'type': bool, 'default': True}, 'etag': {'type': str, 'default': ''}, 'last_modified': {'type': str}, - 'last_retreived': {'type': str}, + 'last_retrieved': {'type': str}, 'last_error': {'type': str}, 'error_count': {'type': int, 'default': 0}} @@ -24,24 +24,24 @@ FEED_ATTRS = {'title': {'type': str}, class FeedNewAPI(PyAggResourceNew): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FeedAPI(PyAggResourceExisting): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FeedsAPI(PyAggResourceMulti): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FetchableFeedAPI(PyAggAbstractResource): controller_cls = FeedController - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] attrs = {'max_error': {'type': int, 'default': DEFAULT_MAX_ERROR}, 'limit': {'type': int, 'default': DEFAULT_LIMIT}} |