diff options
author | Michele Calgaro <[email protected]> | 2023-01-25 23:38:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-01-25 23:38:32 +0900 |
commit | f6499971af01317ab863241c6ae03014d0fe053a (patch) | |
tree | 6d7dc385711f9a7c23283f74ecc27b4ee4f07afb | |
parent | a09b3acc7b0d50841b28bfc96b10a43143d07dcf (diff) | |
download | tdeutils-f6499971af01317ab863241c6ae03014d0fe053a.tar.gz tdeutils-f6499971af01317ab863241c6ae03014d0fe053a.zip |
superkaramba: fix python version required for PyEval_InitThreads() call.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | superkaramba/src/karamba_python.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/karamba_python.cpp b/superkaramba/src/karamba_python.cpp index 97bb228..65ce4fa 100644 --- a/superkaramba/src/karamba_python.cpp +++ b/superkaramba/src/karamba_python.cpp @@ -444,7 +444,7 @@ void KarambaPython::initPython() PyImport_AppendInittab((char*)"karamba", PyInit_karamba); Py_Initialize(); -#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION <= 6 +#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 6 // initialize thread support PyEval_InitThreads(); #endif |