Prevent the runtime from compiling bytecode to avoid permissions issues.

This commit is contained in:
Dave Page 2016-06-16 11:30:23 +01:00
parent a800b19c87
commit fa917a0828

View File

@ -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