Fixed import error.
Merge pull request #1022 from ContinuumIO/hotfix/flask_stock

Fixed import error.