unitedstates / inspectors-general

Collecting reports from Inspectors General across the US federal government.
https://sunlightfoundation.com/blog/2014/11/07/opengov-voices-opening-up-government-reports-through-teamwork-and-open-data/
Creative Commons Zero v1.0 Universal
106 stars 21 forks source link

Add check for published_on in exim.py #172

Closed plantfansam closed 9 years ago

plantfansam commented 9 years ago

If you don't get into the if temp: block, published_on is not set, which leads to an error.

The offending, unprocessable link (from http://www.exim.gov/oig/index.cfm): photo

konklone commented 9 years ago

Tested and works great for me! Thanks for the fix, @handlers. I've given you commit access - PRs preferred for anything non-trivial, but you can do it from a branch instead of a fork.

plantfansam commented 9 years ago

Sounds good!