From fa917a08282b2a559a69e7b96af3f601d2608a6d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Thu, 16 Jun 2016 11:30:23 +0100 Subject: [PATCH] Prevent the runtime from compiling bytecode to avoid permissions issues. --- runtime/Server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index 244026885..f37e6eb96 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -30,6 +30,7 @@ Server::Server(quint16 port) // Initialise Python Py_NoSiteFlag=1; + Py_DontWriteBytecodeFlag=1; // Python3 requires conversion of char * to wchar_t *, so... #ifdef PYTHON2