mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Prevent the runtime from compiling bytecode to avoid permissions issues.
This commit is contained in:
parent
a800b19c87
commit
fa917a0828
@ -30,6 +30,7 @@ Server::Server(quint16 port)
|
|||||||
|
|
||||||
// Initialise Python
|
// Initialise Python
|
||||||
Py_NoSiteFlag=1;
|
Py_NoSiteFlag=1;
|
||||||
|
Py_DontWriteBytecodeFlag=1;
|
||||||
|
|
||||||
// Python3 requires conversion of char * to wchar_t *, so...
|
// Python3 requires conversion of char * to wchar_t *, so...
|
||||||
#ifdef PYTHON2
|
#ifdef PYTHON2
|
||||||
|
Loading…
Reference in New Issue
Block a user