summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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