diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-26 19:34:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-01-26 19:34:01 +0900 |
commit | 832a902d96ac6f746307256513487a7f17a29323 (patch) | |
tree | 6e87f5b537f8605fc36afc2b74d2b703e2be3595 /superkaramba | |
parent | f6499971af01317ab863241c6ae03014d0fe053a (diff) | |
download | tdeutils-832a902d96ac6f746307256513487a7f17a29323.tar.gz tdeutils-832a902d96ac6f746307256513487a7f17a29323.zip |
superkaramba: minor improvement to python version detection condition.r14.1.0
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'superkaramba')
-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 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 |