Prevent the runtime from compiling bytecode to avoid permissions issues.

pull/3/head
Dave Page 2016-06-16 11:30:23 +01:00
parent a800b19c87
commit fa917a0828
1 changed files with 1 additions and 0 deletions

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