summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-26 19:34:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-26 19:34:01 +0900
commit832a902d96ac6f746307256513487a7f17a29323 (patch)
tree6e87f5b537f8605fc36afc2b74d2b703e2be3595
parentf6499971af01317ab863241c6ae03014d0fe053a (diff)
downloadtdeutils-master.tar.gz
tdeutils-master.zip
superkaramba: minor improvement to python version detection condition.HEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 65ce4fa..f732570 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_VERSION_HEX < 0x03070000
// initialize thread support
PyEval_InitThreads();
#endif