Cleanup of runserver.wsgi

This commit is contained in:
Francesco Siddi 2015-10-08 09:23:52 +02:00
parent 06b7df4d5b
commit 5d8bd6dd76

View File

@ -1,13 +1,10 @@
import sys
from flup.server.fcgi import WSGIServer
from application import app
activate_this = '/data/venv/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))
import sys
#import logging
sys.path.append('/data/dev/pillar/pillar/')
from flup.server.fcgi import WSGIServer
from application import app as application
#logging.basicConfig(filename='/tmp/error.log', level=logging.DEBUG)
if __name__ == '__main__':
WSGIServer(application).run()
WSGIServer(app).run()