Commit 978af9a1 authored by Nikita Sirgienko's avatar Nikita Sirgienko
Browse files

[Python] Disable 'exit' function

BUG: 372075
FIXED-IN: 18.12
parent b7c86996
......@@ -43,6 +43,7 @@ namespace
void PythonServer::login()
{
Py_InspectFlag = 1;
Py_Initialize();
m_pModule = PyImport_AddModule("__main__");
filePath = QLatin1String("python_cantor_worksheet");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment