From c67a415e4a4640bc72d3b4f384a4dfc3f12cc5f2 Mon Sep 17 00:00:00 2001 From: yuwensheng Date: Mon, 17 Dec 2018 18:06:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95=E5=9C=A8uw?= =?UTF-8?q?sgi=E7=8E=AF=E5=A2=83=E4=B8=8B=E5=9C=A8=E7=BA=BF=E6=89=A7?= =?UTF-8?q?=E8=A1=8Cdebugtalk=E4=BB=A3=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastrunner/utils/runner.py | 2 ++ 1 file changed, 2 insertions(+) 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):