scraperwiki / stock-tool

ScraperWiki stock ticker tool
Other
0 stars 1 forks source link

Status is pretty ugly #3

Closed frabcus closed 10 years ago

frabcus commented 10 years ago

The status of Latest entry: 2014-05-09T00:00:00 is quite ugly.

Seems to be platform generated?

The tool should say something shorter, that conveys what is useful about how the tool works. Does it schedule at all?

pwaller commented 10 years ago

To answer "where does it come from", I think it's if message=None which is the default.

https://github.com/scraperwiki/scraperwiki-python/blob/master/scraperwiki/utils.py#L59

StevenMaude commented 10 years ago

Latest entry comes from dshelpers.update_status() which pulls the latest date from the database and uses that.

@frabcus: Yes, it schedules (once per day, using install crontab code taken from Twitter followers tool). Do you think the last time it ran is more useful to display? If so, we just need to replace the update_status call with scraperwiki.status('ok') instead.

frabcus commented 10 years ago

That looks better!