summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-01-25 23:38:32 +0900
committerMichele Calgaro <[email protected]>2023-01-25 23:38:32 +0900
commitf6499971af01317ab863241c6ae03014d0fe053a (patch)
tree6d7dc385711f9a7c23283f74ecc27b4ee4f07afb
parenta09b3acc7b0d50841b28bfc96b10a43143d07dcf (diff)
downloadtdeutils-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.cpp2
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