dbsession fix
Merge pull request #168 from kkorekk/uwsgi_dbsession_fix

dbsession fix