diff --git a/fastrunner/utils/runner.py b/fastrunner/utils/runner.py index 77941bd..f012ea8 100644 --- a/fastrunner/utils/runner.py +++ b/fastrunner/utils/runner.py @@ -9,6 +9,8 @@ from fastrunner.utils import loader EXEC = sys.executable +if 'uwsgi' in EXEC: + EXEC = os.path.join(os.path.dirname(EXEC), 'python') class DebugCode(object):