diff --git a/pillar/runserver.wsgi b/pillar/runserver.wsgi index 83d24a2b..514d2ba0 100644 --- a/pillar/runserver.wsgi +++ b/pillar/runserver.wsgi @@ -1,10 +1,11 @@ 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)) +from flup.server.fcgi import WSGIServer + sys.path.append('/data/dev/pillar/pillar/') +from application import app if __name__ == '__main__': WSGIServer(app).run()