Fixed bug in wsgi.py