From 14bc00a385151cdc2649529a1a2c9db7f5be4356 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 8 Oct 2015 09:37:45 +0200 Subject: [PATCH] Tweaks to runserver.wsgi --- pillar/runserver.wsgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()