fixing error that should let app run on gunicorn

- not tested
Merge pull request #1 from stuycs-ml7-projects/master

not tested