adicu / data.adicu.com

API for Columbia data
http://data.adicu.com
13 stars 14 forks source link

refactor order of imports in data.py #71

Closed natebrennand closed 10 years ago

natebrennand commented 10 years ago

Currently the blueprints are imported before the app is configured. This will cause a KeyError when the environment variables are missing. This occurs here.

The desired effect is for this error to be thrown when settings have not been added to the environment.